pub struct HashMapCold<K, V> { /* private fields */ }๐Deprecated:
Unused duplicate memtable; live memtables are lscs::ColumnarMemtable + durable_storage::MvccMemTable. Scheduled for removal (Task 2 consolidation).
Expand description
Simple hashmap-based cold storage
Implementationsยง
Trait Implementationsยง
Sourceยงimpl<K, V> ColdStorage<K, V> for HashMapCold<K, V>
impl<K, V> ColdStorage<K, V> for HashMapCold<K, V>
Sourceยงfn get(&self, key: &K) -> Option<V>
fn get(&self, key: &K) -> Option<V>
๐Deprecated:
Unused duplicate memtable; live memtables are lscs::ColumnarMemtable + durable_storage::MvccMemTable. Scheduled for removal (Task 2 consolidation).
Get a value
Sourceยงfn insert_batch(&self, entries: Vec<(K, V)>)
fn insert_batch(&self, entries: Vec<(K, V)>)
๐Deprecated:
Unused duplicate memtable; live memtables are lscs::ColumnarMemtable + durable_storage::MvccMemTable. Scheduled for removal (Task 2 consolidation).
Insert a batch of entries
Auto Trait Implementationsยง
impl<K, V> !Freeze for HashMapCold<K, V>
impl<K, V> !RefUnwindSafe for HashMapCold<K, V>
impl<K, V> Send for HashMapCold<K, V>
impl<K, V> Sync for HashMapCold<K, V>
impl<K, V> Unpin for HashMapCold<K, V>
impl<K, V> UnsafeUnpin for HashMapCold<K, V>
impl<K, V> UnwindSafe for HashMapCold<K, V>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more