pub struct MountedVolume {
pub drive_letter: Option<char>,
pub volume_guid: Option<String>,
pub disk_signature: u32,
pub partition_offset: u64,
pub source: Provenance,
}Expand description
One MountedDevices MBR record: a mount name resolved to its disk signature and
partition offset. Volumes with equal (disk_signature, partition_offset) are the same.
Fields§
§drive_letter: Option<char>The drive letter, when the mount name was \DosDevices\X: (upper-cased).
volume_guid: Option<String>The volume GUID, when the mount name was \??\Volume{GUID} (lower-cased, braces).
disk_signature: u32MBR disk signature (the first 4 bytes of the record, little-endian).
partition_offset: u64Partition byte-offset within the disk (the next 8 bytes, little-endian).
source: ProvenanceWhere the record was decoded from.
Trait Implementations§
Source§impl Clone for MountedVolume
impl Clone for MountedVolume
Source§fn clone(&self) -> MountedVolume
fn clone(&self) -> MountedVolume
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 MountedVolume
impl Debug for MountedVolume
impl Eq for MountedVolume
Source§impl PartialEq for MountedVolume
impl PartialEq for MountedVolume
impl StructuralPartialEq for MountedVolume
Auto Trait Implementations§
impl Freeze for MountedVolume
impl RefUnwindSafe for MountedVolume
impl Send for MountedVolume
impl Sync for MountedVolume
impl Unpin for MountedVolume
impl UnsafeUnpin for MountedVolume
impl UnwindSafe for MountedVolume
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