pub struct KvPair {
pub key: Vec<u8>,
pub value: Vec<u8>,
}Expand description
A key-value pair produced by a range scan.
Keys are always reported relative to the exact directory passed to
KvStore::range. A ScopedKvStore joins its
pinned directory with the caller’s relative directory, but the returned key
remains the within-directory key.
Fields§
§key: Vec<u8>The key bytes.
value: Vec<u8>The value bytes.
Trait Implementations§
impl Eq for KvPair
impl StructuralPartialEq for KvPair
Auto Trait Implementations§
impl Forget for KvPair
impl Freeze for KvPair
impl Move for KvPair
impl RefUnwindSafe for KvPair
impl Send for KvPairwhere
RawVecInner: Send,
impl Sync for KvPairwhere
RawVecInner: Sync,
impl Unpin for KvPair
impl UnsafeUnpin for KvPair
impl UnwindSafe for KvPairwhere
RawVecInner: 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