Trait kernel::hil::text_screen::TextScreenClient

source ·
pub trait TextScreenClient {
    // Required methods
    fn command_complete(&self, r: Result<(), ErrorCode>);
    fn write_complete(
        &self,
        buffer: &'static mut [u8],
        len: usize,
        r: Result<(), ErrorCode>,
    );
}

Required Methods§

source

fn command_complete(&self, r: Result<(), ErrorCode>)

The driver calls this function when any command (but a write one) finishes executing.

source

fn write_complete( &self, buffer: &'static mut [u8], len: usize, r: Result<(), ErrorCode>, )

The driver calls this function when a write command finishes executing.

Implementors§