pub trait RunObserver: Send + Sync {
// Required method
fn event(&self, ev: &RunEvent);
}Expand description
A host-supplied event subscriber. Called on the bus’s OWN thread — a slow implementation delays events (and eventually loses the oldest), never the run.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".