Trait LocalStateStoreTestExt

Source
pub trait LocalStateStoreTestExt: LocalStateStore {
    // Provided methods
    fn init_for_test(
        &mut self,
        epoch: u64,
    ) -> impl Future<Output = StorageResult<()>> + Send + '_ { ... }
    fn init_for_test_with_prev_epoch(
        &mut self,
        epoch: u64,
        prev_epoch: u64,
    ) -> impl Future<Output = StorageResult<()>> + Send + '_ { ... }
}

Provided Methods§

Source

fn init_for_test( &mut self, epoch: u64, ) -> impl Future<Output = StorageResult<()>> + Send + '_

Source

fn init_for_test_with_prev_epoch( &mut self, epoch: u64, prev_epoch: u64, ) -> impl Future<Output = StorageResult<()>> + Send + '_

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.

Implementors§

Source§

impl<T: LocalStateStore> LocalStateStoreTestExt for T