Enum EntryRef
pub enum EntryRef<'a> {
Park {
run: RunId,
last_lsn: Lsn,
id_hash: u64,
timers: &'a [(Seq, TimerKind, u64)],
journal: &'a [u8],
},
Done {
run: RunId,
last_lsn: Lsn,
id_hash: u64,
status: Status,
finished_ms: u64,
journal: &'a [u8],
},
Tombstone {
run: RunId,
},
Delta {
run: RunId,
last_lsn: Lsn,
id_hash: u64,
timers: &'a [(Seq, TimerKind, u64)],
prev: BlobRef,
depth: u8,
chain: u64,
journal: &'a [u8],
},
Index {
records: &'a [u8],
},
}Expand description
A store entry with borrowed parts, encoded by encode_entry_into
without copying them into a StoreEntry first.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for EntryRef<'a>
impl<'a> Freeze for EntryRef<'a>
impl<'a> Move for EntryRef<'a>
impl<'a> RefUnwindSafe for EntryRef<'a>
impl<'a> Send for EntryRef<'a>
impl<'a> Sync for EntryRef<'a>
impl<'a> Unpin for EntryRef<'a>
impl<'a> UnsafeUnpin for EntryRef<'a>
impl<'a> UnwindSafe for EntryRef<'a>
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