Enum tauri::UpdaterEvent
source · pub enum UpdaterEvent {
UpdateAvailable {
body: String,
date: Option<OffsetDateTime>,
version: String,
},
Pending,
DownloadProgress {
chunk_length: usize,
content_length: Option<u64>,
},
Downloaded,
Updated,
AlreadyUpToDate,
Error(String),
}
Available on crate feature
updater
only.Expand description
Updater events.
Variants§
UpdateAvailable
Fields
§
date: Option<OffsetDateTime>
The update release date.
An update is available.
Pending
The update is pending and about to be downloaded.
DownloadProgress
Fields
The update download received a progress event.
Downloaded
The update has been downloaded and is now about to be installed.
Updated
The update has been applied and the app is now up to date.
AlreadyUpToDate
The app is already up to date.
Error(String)
An error occurred while updating.
Trait Implementations§
source§impl Clone for UpdaterEvent
impl Clone for UpdaterEvent
source§fn clone(&self) -> UpdaterEvent
fn clone(&self) -> UpdaterEvent
Returns a copy 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 more