pub trait StateReadExt: StateRead {
// Provided methods
fn get_distributions_params<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DistributionsParameters>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_staking_token_issuance_for_epoch(&self) -> Option<Amount> { ... }
}
Available on crate feature
component
only.Provided Methods§
Sourcefn get_distributions_params<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DistributionsParameters>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_distributions_params<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DistributionsParameters>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Gets the distributions module chain parameters from the JMT.
fn get_staking_token_issuance_for_epoch(&self) -> Option<Amount>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.