#[non_exhaustive]pub enum UpdateEvent {
Found {
version: String,
},
UpToDate,
ReadyOnQuit {
version: String,
},
Failed {
message: String,
},
}Expand description
What Sparkle’s updater did (see on_event).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Found
The feed has a newer version than this one.
UpToDate
The check found nothing newer.
ReadyOnQuit
The update is downloaded and checked, and installs when the app quits (Sparkle’s automatic updates, or the user chose Install on Quit).
Failed
A check or an update failed: the feed couldn’t be read, the download or its signature was bad, the install failed.
Trait Implementations§
Source§impl Clone for UpdateEvent
impl Clone for UpdateEvent
Source§impl Debug for UpdateEvent
impl Debug for UpdateEvent
impl Eq for UpdateEvent
Source§impl PartialEq for UpdateEvent
impl PartialEq for UpdateEvent
impl StructuralPartialEq for UpdateEvent
Auto Trait Implementations§
impl Forget for UpdateEvent
impl Freeze for UpdateEvent
impl Move for UpdateEvent
impl RefUnwindSafe for UpdateEvent
impl Send for UpdateEvent
impl Sync for UpdateEvent
impl Unpin for UpdateEvent
impl UnsafeUnpin for UpdateEvent
impl UnwindSafe for UpdateEvent
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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