pub trait Prints<Via: ?Sized, Type> {
    fn write_line(&self, data: Type) -> Result<()>;
    fn write_error(&self, data: Type) -> Result<()>;
}
Expand description

Implementor Prints data of Type to output Via, for example:

impl Prints<dyn Terminal, &str> for TerminalLogger { ... }

Required Methods

Implementors