PrintHandler

Trait PrintHandler 

Source
pub trait PrintHandler {
    // Required method
    fn println(&self, text: &str) -> Result<()>;
}
Expand description

Invoked from print or pprint to print a value.

Required Methods§

Source

fn println(&self, text: &str) -> Result<()>

If this function returns error, evaluation fails with this error.

Implementors§