pub trait ProgressReporter: Send + Sync {
// Required method
fn begin(&self, label: &str, total: Option<u64>) -> Box<dyn ProgressHandle>;
}Expand description
Factory for per-unit-of-work progress handles.
Implementations are shared across concurrent tasks, so this trait requires
Send + Sync.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".