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§
Sourcefn command_complete(&self, r: Result<(), ErrorCode>)
fn command_complete(&self, r: Result<(), ErrorCode>)
The driver calls this function when any command (but a write one) finishes executing.