Trait no_stdout::StdOut [−][src]
pub trait StdOut: Send + 'static { fn write_bytes(&self, bytes: &[u8]) -> Result; fn write_str(&self, s: &str) -> Result; fn write_fmt(&self, args: Arguments<'_>) -> Result; fn flush(&self) -> Result; }
Expand description
A trait describes common operations with the stdout.
Required methods
fn write_bytes(&self, bytes: &[u8]) -> Result
fn write_bytes(&self, bytes: &[u8]) -> Result
Writes a bytes slice into the stdout, returning whether write succeeded.