Trait rustrt::rtio::RtioTTY[src]

pub trait RtioTTY {
    fn read(&mut self, buf: &mut [u8]) -> IoResult<uint>;
    fn write(&mut self, buf: &[u8]) -> IoResult<()>;
    fn set_raw(&mut self, raw: bool) -> IoResult<()>;
    fn get_winsize(&mut self) -> IoResult<(int, int)>;
    fn isatty(&self) -> bool;
}

Required Methods

fn read(&mut self, buf: &mut [u8]) -> IoResult<uint>

fn write(&mut self, buf: &[u8]) -> IoResult<()>

fn set_raw(&mut self, raw: bool) -> IoResult<()>

fn get_winsize(&mut self) -> IoResult<(int, int)>

fn isatty(&self) -> bool

Implementors