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

Writes a bytes slice into the stdout, returning whether write succeeded.

Writes a string slice.

Writes a formatted string.

Ensures that none of the previously written bytes are still buffered.

Implementors