pub struct MemoryKeyValueStore<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> { /* private fields */ }Expand description
Fixed-capacity in-memory key-value store.
Trait Implementations§
Source§impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> Default for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> Default for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
Source§impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> KeyValueStore for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> KeyValueStore for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
Auto Trait Implementations§
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> !Freeze for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> !RefUnwindSafe for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> Send for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> !Sync for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> Unpin for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
impl<const ENTRIES: usize, const KEY_LEN: usize, const VALUE_LEN: usize> UnwindSafe for MemoryKeyValueStore<ENTRIES, KEY_LEN, VALUE_LEN>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more