pub struct LogEntry {
pub adds: Option<SegmentRef>,
pub dels: Option<SegmentRef>,
}Expand description
One log entry: net additions and/or net deletions (tombstones). Within an
entry adds ∩ dels = ∅ by construction (a seal nets the journal per quad),
so their relative order does not matter; entries are strictly ordered.
Fields§
§adds: Option<SegmentRef>Quads this entry adds to the visible graph.
dels: Option<SegmentRef>Quads this entry deletes (a tombstone segment).
Trait Implementations§
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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