[][src]Trait kernel::hil::log::LogReadClient

pub trait LogReadClient {
    fn read_done(
        &self,
        buffer: &'static mut [u8],
        length: usize,
        error: ReturnCode
    );
fn seek_done(&self, error: ReturnCode); }

Receive callbacks from LogRead.

Required methods

fn read_done(&self, buffer: &'static mut [u8], length: usize, error: ReturnCode)

Returns a buffer containing data read and the length of the number of bytes read or an error code if the read failed.

fn seek_done(&self, error: ReturnCode)

Returns whether the seek succeeded or failed.

Loading content...

Implementors

Loading content...