Trait avrox_storage::fs::Read

source ·
pub trait Read {
    // Required method
    fn read(&mut self, _buf: &mut [u8]) -> OxideResult<usize, IoError>;

    // Provided method
    fn read_exact(&mut self, buf: &mut [u8]) -> OxideResult<(), IoError> { ... }
}

Required Methods§

source

fn read(&mut self, _buf: &mut [u8]) -> OxideResult<usize, IoError>

Provided Methods§

source

fn read_exact(&mut self, buf: &mut [u8]) -> OxideResult<(), IoError>

Implementations on Foreign Types§

source§

impl Read for Stdin

source§

fn read(&mut self, buf: &mut [u8]) -> OxideResult<usize, IoError>

Implementors§

source§

impl<'f, FS> Read for File<'f, FS>
where FS: FileSystemWrite,

source§

impl<S> Read for SerialPort<'_, S>
where S: EventSink,