[−][src]Trait disk_types::BlockDeviceExt
Methods that all block devices share, whether they are partitions or disks.
This trait is required to implement other disk traits.
Required Methods
fn get_device_path(&self) -> &Path
Where this block device originates.
fn get_mount_point(&self) -> Option<&Path>
The mount point of this block device, if it is mounted.
Provided Methods
fn sys_block_path(&self) -> PathBuf
The sys path of the block device.