pub enum AnomalyKind {
ContentPurged {
original_path: String,
},
PathTraversal {
original_path: String,
},
DeletionTimeMissing {
original_path: String,
},
}Expand description
A Recycle Bin anomaly, with the offending evidence attached.
The reader keeps its typed reader output; this analyzer keeps its typed anomaly kind (domain knowledge) and converts to canonical findings.
Variants§
ContentPurged
A $I index file with no paired $R content file: the metadata of a
deleted file survives but its content has already been purged.
PathTraversal
The original path stored in the $I file escapes its directory via
..\ (or ../) components — consistent with a crafted name rather than
a normal shell deletion.
DeletionTimeMissing
The FILETIME deletion timestamp is zero — recorded but never set.
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
Source§fn eq(&self, other: &AnomalyKind) -> bool
fn eq(&self, other: &AnomalyKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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