pub trait Progress {
type Instance: ProgressBar;
// Required method
fn start(&self, work: usize) -> Self::Instance;
// Provided method
fn println(&self, message: &str) { ... }
}
pub trait Progress {
type Instance: ProgressBar;
// Required method
fn start(&self, work: usize) -> Self::Instance;
// Provided method
fn println(&self, message: &str) { ... }
}