pub trait Terminal {
fn term(&self) -> Term { ... }
fn err(&self) -> Term { ... }
}
Expand description
Implementor would like access to the Terminal
, provided by the Console
crate.
Provides access to stdout.
Provides access to stderr.
Should typically check if verbose_enough
to write_line
by also
implementing MinVerbosity
, otherwise just print some data Via
. Read more
Write buffer to stdout.
If writing to stdout fails.
Write buffer to stderr.
If writing to stderr fails.
Write str to stdout.
If writing to stdout fails.
Write str to stderr.
If writing to stderr fails.