Skip to main content

IoSink

Trait IoSink 

Source
pub trait IoSink: Send {
    // Required method
    fn print_line(&mut self, s: &str);
}
Expand description

Output sink used by io.print. Tests inject a buffer; production prints to stdout.

Required Methods§

Source

fn print_line(&mut self, s: &str)

Implementors§