pub trait RaftStorageDebug<SM> {
    // Required method
    fn get_state_machine<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = SM> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

APIs for debugging a store.

Required Methods§

source

fn get_state_machine<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = SM> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Get a handle to the state machine for testing purposes.

Implementors§

source§

impl<C, T, SM> RaftStorageDebug<SM> for StoreExt<C, T>where T: RaftStorage<C> + RaftStorageDebug<SM>, C: RaftTypeConfig,