pub enum ContainerKind {
Disk,
Logical,
Encrypted,
}Expand description
The kind of AFF4 container, determined from information.turtle without
fully opening the image — cheap enough for filesystem detection.
Variants§
Disk
A disk image (aff4:ImageStream / aff4:Map) — read via Aff4Reader.
Logical
An AFF4-Logical file collection (aff4:FileImage) — read via
LogicalContainer.
Encrypted
An encrypted container (aff4:EncryptedStream); the inner shape is
hidden behind the ciphertext and needs a password to open.
Trait Implementations§
Source§impl Clone for ContainerKind
impl Clone for ContainerKind
Source§fn clone(&self) -> ContainerKind
fn clone(&self) -> ContainerKind
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 ContainerKind
Source§impl Debug for ContainerKind
impl Debug for ContainerKind
impl Eq for ContainerKind
Source§impl PartialEq for ContainerKind
impl PartialEq for ContainerKind
Source§fn eq(&self, other: &ContainerKind) -> bool
fn eq(&self, other: &ContainerKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContainerKind
Auto Trait Implementations§
impl Freeze for ContainerKind
impl RefUnwindSafe for ContainerKind
impl Send for ContainerKind
impl Sync for ContainerKind
impl Unpin for ContainerKind
impl UnsafeUnpin for ContainerKind
impl UnwindSafe for ContainerKind
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