pub enum ResidueReason {
BeyondLastCommit,
SaltReset,
}Expand description
Why a WAL tail is WalResidue (an invalidated-frame candidate), not history.
Variants§
BeyondLastCommit
Frames written after the segment’s last COMMIT (uncommitted tail).
SaltReset
Frames whose salt no longer matches the segment header (post-reset residue).
Trait Implementations§
Source§impl Clone for ResidueReason
impl Clone for ResidueReason
Source§fn clone(&self) -> ResidueReason
fn clone(&self) -> ResidueReason
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 moreimpl Copy for ResidueReason
Source§impl Debug for ResidueReason
impl Debug for ResidueReason
impl Eq for ResidueReason
Source§impl PartialEq for ResidueReason
impl PartialEq for ResidueReason
impl StructuralPartialEq for ResidueReason
Auto Trait Implementations§
impl Freeze for ResidueReason
impl RefUnwindSafe for ResidueReason
impl Send for ResidueReason
impl Sync for ResidueReason
impl Unpin for ResidueReason
impl UnsafeUnpin for ResidueReason
impl UnwindSafe for ResidueReason
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