#[non_exhaustive]pub enum RecoveryMethod {
Tombstone,
FileInternalCarve,
UnallocatedCarve,
MemoryCarve,
}Expand description
How (and how broadly) an artifact was recovered — the fleet-wide provenance
vocabulary (ADR 0001 §3). Carving is a recovery method, so this general
concept owns the plain name; the SQLite-record substrate detail lives in
browser-forensic-carve as SqliteRecoveryMethod.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tombstone
A deletion the filesystem itself recorded (an $MFT record with IN_USE
cleared, an ext4 orphan inode). The --deleted flag.
FileInternalCarve
Tier-1 recovery from within a located artifact’s own slack (freelist / WAL /
ElfChnk). Default-on in the parser.
UnallocatedCarve
Tier-2 whole-image carving of unallocated space. The --unallocated flag.
MemoryCarve
Recovered from a memory image (a process VA region or a physical frame).
Implementations§
Trait Implementations§
Source§impl Clone for RecoveryMethod
impl Clone for RecoveryMethod
Source§fn clone(&self) -> RecoveryMethod
fn clone(&self) -> RecoveryMethod
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 RecoveryMethod
Source§impl Debug for RecoveryMethod
impl Debug for RecoveryMethod
impl Eq for RecoveryMethod
Source§impl Hash for RecoveryMethod
impl Hash for RecoveryMethod
Source§impl PartialEq for RecoveryMethod
impl PartialEq for RecoveryMethod
impl StructuralPartialEq for RecoveryMethod
Auto Trait Implementations§
impl Freeze for RecoveryMethod
impl RefUnwindSafe for RecoveryMethod
impl Send for RecoveryMethod
impl Sync for RecoveryMethod
impl Unpin for RecoveryMethod
impl UnsafeUnpin for RecoveryMethod
impl UnwindSafe for RecoveryMethod
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