StatusReporter

Trait StatusReporter 

Source
pub trait StatusReporter: Send + Sync {
    // Provided methods
    fn on_download_batch(&self, _event: &DownloadBatch) { ... }
    fn on_download_started(&self, _event: &DownloadStarted) { ... }
    fn on_download_progress(&self, _event: &DownloadProgress) { ... }
    fn on_download_finished(&self, _event: &DownloadFinished) { ... }
    fn on_download_failed(&self, _event: &DownloadFailed) { ... }
}

Provided Methods§

Implementors§