kernel::console::interface

Trait Write

Source
pub trait Write {
    // Required methods
    fn write_char(&self, c: char);
    fn write_fmt(&self, args: Arguments<'_>) -> Result;
    fn flush(&self);
}
Expand description

Console write functions.

Required Methods§

Source

fn write_char(&self, c: char)

Write a single character.

Source

fn write_fmt(&self, args: Arguments<'_>) -> Result

Write a Rust format string.

Source

fn flush(&self)

Block until the last buffered character has been physically put on the TX wire.

Implementors§