dash_mpd::fetch

Trait ProgressObserver

Source
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.

Required Methods§

Source

fn update(&self, percent: u32, message: &str)

Implementors§