Enum oma_refresh::DownloadEvent
source · pub enum DownloadEvent {
ChecksumMismatchRetry {
filename: String,
times: usize,
},
GlobalProgressSet(u64),
GlobalProgressInc(u64),
ProgressDone,
NewProgressSpinner(String),
NewProgress(u64, String),
ProgressInc(u64),
ProgressSet(u64),
CanNotGetSourceNextUrl(String),
Done(String),
AllDone,
}Variants§
ChecksumMismatchRetry
GlobalProgressSet(u64)
GlobalProgressInc(u64)
ProgressDone
NewProgressSpinner(String)
NewProgress(u64, String)
ProgressInc(u64)
ProgressSet(u64)
CanNotGetSourceNextUrl(String)
Done(String)
AllDone
Trait Implementations§
source§impl Debug for DownloadEvent
impl Debug for DownloadEvent
source§impl Display for DownloadEvent
impl Display for DownloadEvent
source§impl From<DownloadEvent> for RefreshEvent
impl From<DownloadEvent> for RefreshEvent
source§fn from(value: DownloadEvent) -> Self
fn from(value: DownloadEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DownloadEvent
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