pub enum AppUpdateInstallStatus {
Show 14 variants
Pending,
PendingUserAction,
Cancelled {
time: u64,
},
Downloading {
progress: f64,
},
AVScanning,
PendingInstall,
Installing {
progress: Option<f64>,
},
MoreDwnlNeeded {
progress: f64,
current: usize,
items: usize,
},
CopyingFiles {
percentage: f64,
total: usize,
},
Finalizing,
Updating,
Uninstalling,
Successful {
time: u64,
},
Error {
err: Cow<'static, str>,
time: u64,
},
}Variants§
Pending
{ “status”: “Pending” }
PendingUserAction
{ “status”: “PendingUserAction” }
Cancelled
{ “status”: “Cancelled” }
Downloading
{ “status”: “Downloading”, “progress”: 100.0 }
AVScanning
{ “status”: “AVSCanning” }
PendingInstall
{ “status”: “PendingInstall” }
Installing
{ “status”: “Installing”, “progress”: null }
OR
{ “status”: “Installing”, “progress”: 30.0 }
MoreDwnlNeeded
{ “status”: “MoreDwnlNeeded” }
CopyingFiles
{ “status”: “CopyingFiles”, “percentage”: 67, “total”: 100 }
Finalizing
{ “status”: “Finalizing” }
Updating
{ “status”: “Updating” }
Uninstalling
{ “status”: “Uninstalling” }
Successful
{ “status”: “Successful” }
Error
{ “status”: “Error”, “err”: “ERROR DESC” }
Trait Implementations§
Source§impl Clone for AppUpdateInstallStatus
impl Clone for AppUpdateInstallStatus
Source§fn clone(&self) -> AppUpdateInstallStatus
fn clone(&self) -> AppUpdateInstallStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppUpdateInstallStatus
impl Debug for AppUpdateInstallStatus
Auto Trait Implementations§
impl Freeze for AppUpdateInstallStatus
impl RefUnwindSafe for AppUpdateInstallStatus
impl Send for AppUpdateInstallStatus
impl Sync for AppUpdateInstallStatus
impl Unpin for AppUpdateInstallStatus
impl UnsafeUnpin for AppUpdateInstallStatus
impl UnwindSafe for AppUpdateInstallStatus
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