pub struct WalResidue {
pub segment: WalSegmentId,
pub first_frame_index: usize,
pub frame_count: usize,
pub reason: ResidueReason,
}Expand description
A stale WAL tail surfaced for forensics — NOT committed history.
Frames past the last COMMIT of a segment, frames after a salt reset that cannot be replayed into the current segment, or a header/page-size break: all are residue. The examiner weighs them; they are never part of a consistent snapshot.
Fields§
§segment: WalSegmentIdThe segment the residue trails (the segment whose last commit it follows).
first_frame_index: usize0-based frame index (within the file) of the first residual frame.
frame_count: usizeNumber of residual frames.
reason: ResidueReasonWhy these frames are residue rather than committed history.
Trait Implementations§
Source§impl Clone for WalResidue
impl Clone for WalResidue
Source§fn clone(&self) -> WalResidue
fn clone(&self) -> WalResidue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WalResidue
impl Debug for WalResidue
impl Eq for WalResidue
Source§impl PartialEq for WalResidue
impl PartialEq for WalResidue
impl StructuralPartialEq for WalResidue
Auto Trait Implementations§
impl Freeze for WalResidue
impl RefUnwindSafe for WalResidue
impl Send for WalResidue
impl Sync for WalResidue
impl Unpin for WalResidue
impl UnsafeUnpin for WalResidue
impl UnwindSafe for WalResidue
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