pub trait ProgressSink: Send + Sync {
// Required method
fn report(&self, event: &ProgressEvent<'_>);
}Expand description
Receives the progress of a run. Called from the run’s thread; keep it short.
Required Methods§
fn report(&self, event: &ProgressEvent<'_>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".