pub trait BlockDeviceExt: BlockDevice {
// Provided method
fn total_size(&self) -> u64 { ... }
}Expand description
Extension trait for BlockDevice with helper methods.
Provided Methods§
Sourcefn total_size(&self) -> u64
fn total_size(&self) -> u64
Get the total size of the device in bytes.