pub trait StateWriteExt: StateWrite {
// Provided methods
fn put_community_pool_params(&mut self, params: CommunityPoolParameters) { ... }
fn community_pool_deposit<'life0, 'async_trait>(
&'life0 mut self,
value: Value,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait { ... }
fn community_pool_withdraw<'life0, 'async_trait>(
&'life0 mut self,
value: Value,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait { ... }
}
Available on crate feature
component
only.Provided Methods§
Sourcefn put_community_pool_params(&mut self, params: CommunityPoolParameters)
fn put_community_pool_params(&mut self, params: CommunityPoolParameters)
Writes the provided Community Pool parameters to the JMT.
fn community_pool_deposit<'life0, 'async_trait>(
&'life0 mut self,
value: Value,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
fn community_pool_withdraw<'life0, 'async_trait>(
&'life0 mut self,
value: Value,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
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.