pub enum AnomalyKind {
CrcMismatch {
structure: &'static str,
offset: u64,
},
SbMirrorDivergence {
agno: u64,
field: &'static str,
primary: u64,
secondary: u64,
offset: u64,
},
OrphanedInode {
agno: u64,
bucket: usize,
agino: u32,
},
ImpossibleGeometry {
field: &'static str,
value: u64,
limit: u64,
},
}Expand description
Classification of an XFS structural-integrity anomaly (F3). Each variant carries the evidence needed to reproduce the observation.
Variants§
CrcMismatch
A v5 self-describing metadata block whose stored CRC32c does not verify over its buffer — corruption or post-write tampering.
Fields
SbMirrorDivergence
A secondary superblock (AG 1..n) whose geometry differs from the AG-0 primary — consistent with a spliced/edited image.
Fields
OrphanedInode
A non-null entry in an AGI agi_unlinked[64] bucket — an inode unlinked
while still open (orphaned-but-live), a recovery lead.
Fields
ImpossibleGeometry
A geometry field beyond sane bounds relative to the image size — an allocation-bomb / corruption guard.
Implementations§
Trait Implementations§
Source§impl Clone for AnomalyKind
impl Clone for AnomalyKind
Source§fn clone(&self) -> AnomalyKind
fn clone(&self) -> AnomalyKind
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 AnomalyKind
impl Debug for AnomalyKind
impl Eq for AnomalyKind
Source§impl PartialEq for AnomalyKind
impl PartialEq for AnomalyKind
impl StructuralPartialEq for AnomalyKind
Auto Trait Implementations§
impl Freeze for AnomalyKind
impl RefUnwindSafe for AnomalyKind
impl Send for AnomalyKind
impl Sync for AnomalyKind
impl Unpin for AnomalyKind
impl UnsafeUnpin for AnomalyKind
impl UnwindSafe for AnomalyKind
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