pub struct LogAnchor {
pub database: u64,
pub durable: u64,
pub lanes: Vec<LaneStart>,
pub voids: Vec<u64>,
}Expand description
How much of the log a file holds.
Fields§
§database: u64The id every segment header of this database’s log carries.
durable: u64The durable cut: every commit at or below it is in the file.
lanes: Vec<LaneStart>Where replay starts, one entry per lane.
voids: Vec<u64>Timestamps above the cut that were lost and must never be replayed, in order.
Implementations§
Trait Implementations§
impl Eq for LogAnchor
impl StructuralPartialEq for LogAnchor
Auto Trait Implementations§
impl Freeze for LogAnchor
impl RefUnwindSafe for LogAnchor
impl Send for LogAnchor
impl Sync for LogAnchor
impl Unpin for LogAnchor
impl UnsafeUnpin for LogAnchor
impl UnwindSafe for LogAnchor
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