pub enum AppUpdateEvent {
Available(UpdatePackageInfo),
DownloadStarted {
version: String,
},
DownloadProgress {
version: String,
downloaded_bytes: u64,
total_bytes: Option<u64>,
progress: Option<u8>,
},
Downloaded {
version: String,
},
InstallRequested {
version: String,
},
Failed {
stage: AppUpdateStage,
error: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for AppUpdateEvent
impl Clone for AppUpdateEvent
Source§fn clone(&self) -> AppUpdateEvent
fn clone(&self) -> AppUpdateEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AppUpdateEvent
impl RefUnwindSafe for AppUpdateEvent
impl Send for AppUpdateEvent
impl Sync for AppUpdateEvent
impl Unpin for AppUpdateEvent
impl UnsafeUnpin for AppUpdateEvent
impl UnwindSafe for AppUpdateEvent
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