pub trait SectorExt: BlockDeviceExt {
// Provided method
fn get_sector(&self, sector: Sector) -> u64 { ... }
}
Expand description
Trait for getting and sectors from a device.
Provided Methods§
Sourcefn get_sector(&self, sector: Sector) -> u64
fn get_sector(&self, sector: Sector) -> u64
Calculates the requested sector from a given Sector
variant.