#[non_exhaustive]pub enum Status {
Idle,
Checking,
Downloading(Version, u8),
Installing(Version),
PendingRestart(Version),
Restarting(Version),
}
Expand description
The possible statuses that an Updater
can have.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Idle
Nothing interesting is currently happening — there is no active upgrade underway or pending.
Checking
The updater is currently checking whether there is a newer version of the application available.
Downloading(Version, u8)
A newer version of the application is available, and the updater is currently downloading the release file.
Installing(Version)
A newer version of the application is available, and the updater is currently installing it.
PendingRestart(Version)
A newer version of the application is available, and the updater is currently waiting to start the upgrade process, but is blocked from doing so due to one or more critical actions being in progress.
Restarting(Version)
A newer version of the application is available, and the updater is currently in the process of restarting the application to apply the upgrade. No new critical actions are allowed to start.
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.