pub trait LogReadClient {
    fn read_done(
        &self,
        buffer: &'static mut [u8],
        length: usize,
        error: Result<(), ErrorCode>
    ); fn seek_done(&self, error: Result<(), ErrorCode>); }
Expand description

Receive callbacks from LogRead.

Required Methods

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

Returns whether the seek succeeded or failed.

Implementors