pub trait ProgressObserver: Send + Sync {
// Required method
fn update(&self, percent: u32, message: &str);
}
Expand description
Receives updates concerning the progression of the download, and can display this information to the user, for example using a progress bar.