#[non_exhaustive]pub enum AccessPlan {
Direct,
Wrapper {
codec: Codec,
access: Access,
},
Member {
format: Format,
index: usize,
name: String,
access: Access,
},
SegmentSet {
format: Format,
members: Vec<Segment>,
kind: SegmentKind,
},
Collection {
format: Format,
},
}Expand description
The classified, most-direct route from packed bytes to the evidence.
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.
Direct
Uncompressed, non-archive stream — open as-is.
Wrapper
A bare gzip/bzip2 wrapper over a single stream.
Fields
Member
Exactly one forensic file member inside an archive.
Fields
SegmentSet
A segmented image (E01/E02…, split raw, split VMDK) — one logical stream.
Fields
§
kind: SegmentKindHow the segments reassemble.
Collection
Several independent members — a tree, each re-resolved on its own.
Trait Implementations§
Source§impl Clone for AccessPlan
impl Clone for AccessPlan
Source§fn clone(&self) -> AccessPlan
fn clone(&self) -> AccessPlan
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 AccessPlan
impl Debug for AccessPlan
impl Eq for AccessPlan
Source§impl PartialEq for AccessPlan
impl PartialEq for AccessPlan
impl StructuralPartialEq for AccessPlan
Auto Trait Implementations§
impl Freeze for AccessPlan
impl RefUnwindSafe for AccessPlan
impl Send for AccessPlan
impl Sync for AccessPlan
impl Unpin for AccessPlan
impl UnsafeUnpin for AccessPlan
impl UnwindSafe for AccessPlan
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