pub enum Next<'a> {
Record(Record<'a>),
Torn,
}Expand description
What lies at a position in a log image.
Variants§
Record(Record<'a>)
A whole, validated record.
Torn
Not a committed record: short, mis-tagged or failing its checksum — what a crash mid-append leaves. Nothing at or after it is committed.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Next<'a>
impl<'a> RefUnwindSafe for Next<'a>
impl<'a> Send for Next<'a>
impl<'a> Sync for Next<'a>
impl<'a> Unpin for Next<'a>
impl<'a> UnsafeUnpin for Next<'a>
impl<'a> UnwindSafe for Next<'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