Enum oma_fetch::DownloadEvent
source · pub enum DownloadEvent {
ChecksumMismatchRetry {
filename: String,
times: usize,
},
GlobalProgressSet(u64),
GlobalProgressInc(u64),
ProgressDone,
NewProgressSpinner(String),
NewProgress(u64, String),
ProgressInc(u64),
CanNotGetSourceNextUrl(String),
Done(String),
AllDone,
}Variants§
ChecksumMismatchRetry
GlobalProgressSet(u64)
GlobalProgressInc(u64)
ProgressDone
NewProgressSpinner(String)
NewProgress(u64, String)
ProgressInc(u64)
CanNotGetSourceNextUrl(String)
Done(String)
AllDone
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DownloadEvent
impl Send for DownloadEvent
impl Sync for DownloadEvent
impl Unpin for DownloadEvent
impl UnwindSafe for DownloadEvent
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