[][src]Trait disk_types::SectorExt

pub trait SectorExt: BlockDeviceExt {
    fn get_sector(&self, sector: Sector) -> u64 { ... }
}

Trait for getting and sectors from a device.

Provided methods

fn get_sector(&self, sector: Sector) -> u64

Calculates the requested sector from a given Sector variant.

Loading content...

Implementors

Loading content...