pub trait PartitionExt {
// Required methods
fn flags(&self) -> Flags;
fn drive_type(&self) -> Option<DriveType>;
}
Expand description
Extension for Partition struct.
Required Methods§
Sourcefn drive_type(&self) -> Option<DriveType>
fn drive_type(&self) -> Option<DriveType>
Get drive type for this partition, if can be determined.