[][src]Trait fat32::base::BasicOperation

pub trait BasicOperation {
    type Error;
    fn read(
        &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>; }

BasicOperation trait

Associated Types

type Error

Loading content...

Required methods

fn read(
    &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>

Loading content...

Implementors

Loading content...