Skip to main content

Reporter

Trait Reporter 

Source
pub trait Reporter {
    // Required method
    fn report(&mut self, event: OutputEvent) -> Result<()>;
}
Expand description

Receives structured output events from core operations.

Required Methods§

Source

fn report(&mut self, event: OutputEvent) -> Result<()>

Handles one output event.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§