pub trait TestKeyValueStore: KeyValueStore {
// Required method
fn new_test_config( ) -> impl Future<Output = Result<Self::Config, Self::Error>> + Send;
// Provided method
fn new_test_store( ) -> impl Future<Output = Result<Self, Self::Error>> + Send { ... }
}
Expand description
The functions needed for testing purposes
Required Methods§
Provided Methods§
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.