[−][src]Trait block_device::BlockDevice
BlockDevice trait
Associated Types
type Error
Required methods
fn read(
&self,
buf: &mut [u8],
address: u32,
number_of_blocks: u32
) -> Result<(), Self::Error>
&self,
buf: &mut [u8],
address: u32,
number_of_blocks: u32
) -> Result<(), Self::Error>
fn write(
&self,
buf: &[u8],
address: u32,
number_of_blocks: u32
) -> Result<(), Self::Error>
&self,
buf: &[u8],
address: u32,
number_of_blocks: u32
) -> Result<(), Self::Error>