pub trait StoreDeletable: StoreMut {
// Required method
fn delete(
&mut self,
key: Self::Key,
) -> impl Future<Output = Result<bool, Self::Error>>;
}Expand description
A mutable key-value store that supports deleting values.
Required 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.