pub trait SectorReader: Send {
// Required method
fn read_sectors(
&mut self,
lba: u32,
count: u16,
buf: &mut [u8],
) -> Result<usize>;
// Provided method
fn capacity(&self) -> u32 { ... }
}Expand description
Read 2048-byte sectors from a disc or disc image.