pub struct RecordRef {
pub offset: u64,
pub len: u32,
}Expand description
Returned by DataStore::append so the caller can record the record’s
location in the B-tree index.
Fields§
§offset: u64Byte offset of the start of this record in the .idb file.
len: u32Total byte length of the encoded record (header + key + value).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecordRef
impl RefUnwindSafe for RecordRef
impl Send for RecordRef
impl Sync for RecordRef
impl Unpin for RecordRef
impl UnwindSafe for RecordRef
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