Skip to main content

InitiatedStoreState

Trait InitiatedStoreState 

Source
pub trait InitiatedStoreState: Send + 'static {
    // Required methods
    fn wait_store_only<'async_trait>(
        self: Box<Self>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait;
    fn wait_reload<'async_trait>(
        self: Box<Self>,
    ) -> Pin<Box<dyn Future<Output = Result<ShardStateStuff>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

Source

fn wait_store_only<'async_trait>( self: Box<Self>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,

Source

fn wait_reload<'async_trait>( self: Box<Self>, ) -> Pin<Box<dyn Future<Output = Result<ShardStateStuff>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§