Skip to main content

ExternalPrinter

Trait ExternalPrinter 

Source
pub trait ExternalPrinter {
    // Required method
    fn print(&mut self, msg: String) -> Result<()>;
}
Expand description

External printer

Required Methods§

Source

fn print(&mut self, msg: String) -> Result<()>

Print message to stdout

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§