pub trait Progress {
type Instance: ProgressBar;
// Required method
fn start(&self, work: usize) -> Self::Instance;
// Provided method
fn println(&self, message: &str) { ... }
}Required Associated Types§
type Instance: ProgressBar
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".