Trait vonuvoli_scheme::exports::PortWriter [−][src]
pub trait PortWriter { fn byte_write(&self, byte: u8) -> Outcome<()>; fn byte_write_slice(&self, bytes: &[u8], full: bool) -> Outcome<usize>; fn byte_write_string(&self, string: &str, full: bool) -> Outcome<usize>; fn char_write(&self, char: char) -> Outcome<()>; fn char_write_slice(&self, chars: &[char], full: bool) -> Outcome<usize>; fn char_write_string(&self, string: &str, full: bool) -> Outcome<usize>; fn output_flush(&self) -> Outcome<()>; fn output_close(&self) -> Outcome<()>; fn is_output_open(&self) -> bool; }
Required Methods
fn byte_write(&self, byte: u8) -> Outcome<()>
fn byte_write_slice(&self, bytes: &[u8], full: bool) -> Outcome<usize>
fn byte_write_string(&self, string: &str, full: bool) -> Outcome<usize>
fn char_write(&self, char: char) -> Outcome<()>
fn char_write_slice(&self, chars: &[char], full: bool) -> Outcome<usize>
fn char_write_string(&self, string: &str, full: bool) -> Outcome<usize>
fn output_flush(&self) -> Outcome<()>
fn output_close(&self) -> Outcome<()>
fn is_output_open(&self) -> bool
Implementors
impl PortWriter for Port