pub enum VolumeEncryption {
BitLocker,
BitLockerToGo,
}Expand description
A detected volume-encryption type. LUKS and other encrypted-filesystem magics are surfaced
by crate::filesystems::detect_name; this enum covers the Microsoft FVE volumes that a
filesystem-signature scan cannot see.
Variants§
BitLocker
BitLocker on a fixed drive (or an NTFS-on-removable volume): the boot record’s OEM
identifier at offset 3 is the documented -FVE-FS- signature (Windows Vista EB 52 90
/ 7-10 EB 58 90).
BitLockerToGo
BitLocker To Go on removable media: the discovery volume presents a real FAT/exFAT
boot record (an ordinary OEM identifier at offset 3), so it is identified only by the
BitLocker identifier GUID carried in the volume header, not by -FVE-FS-.
Trait Implementations§
Source§impl Clone for VolumeEncryption
impl Clone for VolumeEncryption
Source§fn clone(&self) -> VolumeEncryption
fn clone(&self) -> VolumeEncryption
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 VolumeEncryption
Source§impl Debug for VolumeEncryption
impl Debug for VolumeEncryption
impl Eq for VolumeEncryption
Source§impl PartialEq for VolumeEncryption
impl PartialEq for VolumeEncryption
impl StructuralPartialEq for VolumeEncryption
Auto Trait Implementations§
impl Freeze for VolumeEncryption
impl RefUnwindSafe for VolumeEncryption
impl Send for VolumeEncryption
impl Sync for VolumeEncryption
impl Unpin for VolumeEncryption
impl UnsafeUnpin for VolumeEncryption
impl UnwindSafe for VolumeEncryption
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