Trait PartitionExt

Source
pub trait PartitionExt {
    // Required methods
    fn flags(&self) -> Flags;
    fn drive_type(&self) -> Option<DriveType>;
}
Expand description

Extension for Partition struct.

Required Methods§

Source

fn flags(&self) -> Flags

Gets mount flags for this partition.

Source

fn drive_type(&self) -> Option<DriveType>

Get drive type for this partition, if can be determined.

Implementors§