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.

Provided Methods

Provides access to stdout.

Provides access to stderr.

Trait Implementations

Should typically check if verbose_enough to write_line by also implementing MinVerbosity, otherwise just print some data Via. Read more

Shortcut to write_error. Read more

Write buffer to stdout.

Panics

If writing to stdout fails.

Write buffer to stderr.

Panics

If writing to stderr fails.

Write str to stdout.

Panics

If writing to stdout fails.

Write str to stderr.

Panics

If writing to stderr fails.

Implementors