pub struct EntryRef {
pub key_hash: u64,
pub sequence_number: u64,
pub offset: u64,
}Expand description
Reference to a specific entry location in the WAL.
An EntryRef uniquely identifies an entry’s location within the WAL,
allowing for efficient random access reads.
Fields§
§key_hash: u64Hash of the key for segment set identification
sequence_number: u64Sequence number of the segment file
offset: u64Byte offset within the segment file (after header)
Trait Implementations§
impl Copy for EntryRef
impl Eq for EntryRef
impl StructuralPartialEq for EntryRef
Auto Trait Implementations§
impl Freeze for EntryRef
impl RefUnwindSafe for EntryRef
impl Send for EntryRef
impl Sync for EntryRef
impl Unpin for EntryRef
impl UnwindSafe for EntryRef
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