Skip to main content

ConsoleSink

Trait ConsoleSink 

Source
pub trait ConsoleSink: Send + Sync {
    // Required method
    fn write_line(&self, line: &str);
}
Expand description

Sink for rendered lines.

Required Methods§

Source

fn write_line(&self, line: &str)

Write one complete record (already includes newline).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§