ext4_read_only::readers

Trait Reader

Source
pub trait Reader: Send + Sync {
    // Required method
    fn read(&self, offset: u64, data: &mut [u8]) -> Result<(), ReaderError>;
}

Required Methods§

Source

fn read(&self, offset: u64, data: &mut [u8]) -> Result<(), ReaderError>

Trait Implementations§

Source§

impl Reader for Box<dyn Reader>

Source§

fn read(&self, offset: u64, data: &mut [u8]) -> Result<(), ReaderError>

Implementations on Foreign Types§

Source§

impl Reader for Box<dyn Reader>

Source§

fn read(&self, offset: u64, data: &mut [u8]) -> Result<(), ReaderError>

Source§

impl Reader for Arc<dyn Reader>

Source§

fn read(&self, offset: u64, data: &mut [u8]) -> Result<(), ReaderError>

Implementors§