pub trait Store<K, V>: RawStore<K, V> {
type Entry<'a>: RawEntry<'a, Key = K, Value = V>
where Self: 'a;
// Required methods
fn entry(&mut self, key: K) -> Self::Entry<'_>;
fn insert(&mut self, key: K, value: V) -> Option<V>;
}
Expand description
the [KeyValue
] trait extends the [RawKeyValue
] trait to provide additional methods for
manipulating key-value stores.
Required Associated Types§
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.