pub trait OutputRenderer: Send + Debug {
// Required method
fn on_event(&mut self, event: &BuildEvent);
}Expand description
Synchronous observer of BuildEvents.
Implementations format events for human consumption (progress bars, coloured log lines) or machine consumption (JSON-lines).
Required Methods§
Sourcefn on_event(&mut self, event: &BuildEvent)
fn on_event(&mut self, event: &BuildEvent)
Called once per event in emission order.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".