Trait moa_host::Tty

source ·
pub trait Tty {
    // Required methods
    fn device_name(&self) -> String;
    fn read(&mut self) -> Option<u8>;
    fn write(&mut self, output: u8) -> bool;
}

Required Methods§

source

fn device_name(&self) -> String

source

fn read(&mut self) -> Option<u8>

source

fn write(&mut self, output: u8) -> bool

Implementors§