pub trait DownloadObservationInterpreter {
// Required methods
fn progress(&mut self, progress: DownloadProgress);
fn terminal(&mut self, event: DownloadEvent);
}Expand description
Interprets one DownloadObservation operation at a time.
Required Methods§
Sourcefn progress(&mut self, progress: DownloadProgress)
fn progress(&mut self, progress: DownloadProgress)
Interprets the progress operation.
Sourcefn terminal(&mut self, event: DownloadEvent)
fn terminal(&mut self, event: DownloadEvent)
Interprets the terminal operation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".