pub struct VolumeInformation { /* private fields */ }Expand description
What a volume reported about itself.
Implementations§
Source§impl VolumeInformation
impl VolumeInformation
Sourcepub fn label(&self) -> &Wtf16String
pub fn label(&self) -> &Wtf16String
The volume label, which is frequently empty and is not an identifier.
Sourcepub fn serial_number(&self) -> u32
pub fn serial_number(&self) -> u32
The volume serial number.
Not stable across reformatting, and not unique across machines, so it identifies a volume only in combination with something else.
Sourcepub fn maximum_component_length(&self) -> u32
pub fn maximum_component_length(&self) -> u32
The longest single path component the filesystem accepts.
Sourcepub fn flags(&self) -> u32
pub fn flags(&self) -> u32
The raw FILE_* capability flags, carried unaltered.
A bitmask rather than an enum, so a capability Windows adds later still reaches a consumer.
Sourcepub fn filesystem_name(&self) -> &Wtf16String
pub fn filesystem_name(&self) -> &Wtf16String
The filesystem name, such as NTFS or ReFS.
Trait Implementations§
Source§impl Clone for VolumeInformation
impl Clone for VolumeInformation
Source§fn clone(&self) -> VolumeInformation
fn clone(&self) -> VolumeInformation
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 VolumeInformation
impl Debug for VolumeInformation
Source§impl Display for VolumeInformation
impl Display for VolumeInformation
impl Eq for VolumeInformation
Source§impl PartialEq for VolumeInformation
impl PartialEq for VolumeInformation
impl StructuralPartialEq for VolumeInformation
Auto Trait Implementations§
impl Freeze for VolumeInformation
impl RefUnwindSafe for VolumeInformation
impl Send for VolumeInformation
impl Sync for VolumeInformation
impl Unpin for VolumeInformation
impl UnsafeUnpin for VolumeInformation
impl UnwindSafe for VolumeInformation
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