pub struct LogSnapshot {
pub limits: Limits,
pub entries: Vec<Entry>,
pub next_sequence: Option<u64>,
pub last_created_at_secs: Option<u64>,
}Expand description
Complete passive checkpoint, with rows ordered oldest first.
This is not a byte format or an instance identity. Restore only through
Log::restore; consumers own durable encoding, identity and allocation.
Fields§
§limits: LimitsFixed bounds of the original log.
entries: Vec<Entry>Retained contiguous suffix of issued identities, oldest first.
next_sequence: Option<u64>Next unissued identity; None means permanent sequence exhaustion.
last_created_at_secs: Option<u64>Last admitted timestamp, retained even when no rows remain.
Trait Implementations§
Source§impl Clone for LogSnapshot
impl Clone for LogSnapshot
Source§impl Debug for LogSnapshot
impl Debug for LogSnapshot
impl Eq for LogSnapshot
Source§impl PartialEq for LogSnapshot
impl PartialEq for LogSnapshot
impl StructuralPartialEq for LogSnapshot
Auto Trait Implementations§
impl Forget for LogSnapshot
impl Freeze for LogSnapshot
impl RefUnwindSafe for LogSnapshot
impl Send for LogSnapshot
impl Sync for LogSnapshot
impl Unpin for LogSnapshot
impl UnsafeUnpin for LogSnapshot
impl UnwindSafe for LogSnapshot
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