kernel::hil::text_screen

Trait 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§