pub trait StorageDriver {
// Required method
async fn flush(&self);
// Provided method
async fn run(&self) { ... }
}Expand description
Sink dirty information-base state is flushed into.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T: StorageDriver> StorageDriver for &T
Lets a driver be shared: the stack can hold a reference to one the
application also flushes itself.
impl<T: StorageDriver> StorageDriver for &T
Lets a driver be shared: the stack can hold a reference to one the application also flushes itself.