Trait anchor_chain::node::Stateful
source · pub trait Stateful<K, V>: Node {
// Required method
fn set_state<'life0, 'async_trait>(
&'life0 mut self,
state: StateManager<K, V>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}