pub struct PinnedEntry {
pub key: UserKey,
pub value: UserValue,
pub seqno: SeqNo,
pub value_type: ValueType,
}Expand description
One entry of a pinned memtable, as a flush would write it.
Fields§
§key: UserKeyThe user key.
value: UserValueThe value (empty for a tombstone).
seqno: SeqNoThe entry’s sequence number.
value_type: ValueTypeWhat the entry is: a value, a tombstone, a merge operand, a cell row.
Trait Implementations§
Source§impl Clone for PinnedEntry
impl Clone for PinnedEntry
Source§impl Debug for PinnedEntry
impl Debug for PinnedEntry
impl Eq for PinnedEntry
Source§impl PartialEq for PinnedEntry
impl PartialEq for PinnedEntry
impl StructuralPartialEq for PinnedEntry
Auto Trait Implementations§
impl !Freeze for PinnedEntry
impl RefUnwindSafe for PinnedEntry
impl Send for PinnedEntry
impl Sync for PinnedEntry
impl Unpin for PinnedEntry
impl UnsafeUnpin for PinnedEntry
impl UnwindSafe for PinnedEntry
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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