pub type DownloadOutcome<L = PathBuf> = Outcome<WasapiFile, L>;Expand description
Per-file outcome of a WasapiClient::download* stream. An alias for the
transfer engine’s Outcome carrying a
WasapiFile; its error field is an
http_ferry::Error.
Aliased Type§
pub enum DownloadOutcome<L = PathBuf> {
Downloaded {
file: WasapiFile,
location: L,
verified: bool,
},
Failed {
file: WasapiFile,
error: Error,
},
Progress {
file: WasapiFile,
received: u64,
total: u64,
},
Skipped {
file: WasapiFile,
location: L,
},
StreamFailed {
error: Error,
},
}