pub enum Record {
Snapshot(Vec<u8, MAX_PAYLOAD>),
Cleared,
}Expand description
What a journal record asserts about the saved protocol state.
Variants§
Snapshot(Vec<u8, MAX_PAYLOAD>)
A saved snapshot with its opaque payload.
Cleared
A committed CMD_CLEAR: nothing is saved, and any older
snapshot records still physically present are void. Erasing
pages is never the clear transaction — a single committed
tombstone is, so an interrupted clear can never resurrect an
older snapshot from a surviving page.
Trait Implementations§
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)