pub enum Event {
ChecksumMismatch {
index: usize,
filename: String,
times: usize,
},
GlobalProgressAdd(u64),
GlobalProgressSub(u64),
ProgressDone(usize),
NewProgressSpinner {
index: usize,
msg: String,
},
NewProgressBar {
index: usize,
msg: String,
size: u64,
},
ProgressInc {
index: usize,
size: u64,
},
NextUrl {
index: usize,
file_name: String,
err: SingleDownloadError,
},
DownloadDone {
index: usize,
msg: Box<str>,
},
Failed {
file_name: String,
error: SingleDownloadError,
},
AllDone,
NewGlobalProgressBar(u64),
}
Variants§
ChecksumMismatch
GlobalProgressAdd(u64)
GlobalProgressSub(u64)
ProgressDone(usize)
NewProgressSpinner
NewProgressBar
ProgressInc
NextUrl
DownloadDone
Failed
AllDone
NewGlobalProgressBar(u64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl !RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl !UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more