Skip to main content

AuditWriter

Trait AuditWriter 

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

Where rendered lines go. Abstracted so tests can capture them.

Required Methods§

Source

fn write_line(&self, line: &str)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§