Skip to main content

BlockDeviceExt

Trait BlockDeviceExt 

Source
pub trait BlockDeviceExt: BlockDevice {
    // Provided method
    fn total_size(&self) -> u64 { ... }
}
Expand description

Extension trait for BlockDevice with helper methods.

Provided Methods§

Source

fn total_size(&self) -> u64

Get the total size of the device in bytes.

Implementors§