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§
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 + '_
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.