pub trait Store<K, V>: RawStoreMut<K, V> {
type Entry<'a>: StoreEntry<'a, K, V>
where Self: 'a;
// Required method
fn entry<'a>(&'a mut self, key: K) -> Self::Entry<'a>;
}Expand description
The Store trait is a more robust interface for key-value stores, building upon both
RawStore and RawStoreMut traits by introducing an entry method for in-place
manipulation of key-value pairs.
Required Associated Types§
type Entry<'a>: StoreEntry<'a, K, V> where Self: 'a
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.