Struct ashpd::flatpak::UpdateProgress [−][src]
pub struct UpdateProgress { pub n_ops: Option<u32>, pub op: Option<u32>, pub progress: Option<u32>, pub status: Option<UpdateStatus>, pub error: Option<String>, pub error_message: Option<String>, }
Expand description
A response of the update progress signal.
Fields
n_ops: Option<u32>
The number of operations that the update consists of.
op: Option<u32>
The position of the currently active operation.
progress: Option<u32>
The progress of the currently active operation, as a number between 0 and 100.
status: Option<UpdateStatus>
The overall status of the update.
error: Option<String>
The error name, sent when status is UpdateStatus::Failed
.
error_message: Option<String>
The error message, sent when status is UpdateStatus::Failed
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UpdateProgress
impl Send for UpdateProgress
impl Sync for UpdateProgress
impl Unpin for UpdateProgress
impl UnwindSafe for UpdateProgress