pub struct UpdateProgress { /* private fields */ }Available on crate feature
flatpak only.Expand description
A response of the update progress signal.
Implementations§
Source§impl UpdateProgress
impl UpdateProgress
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message, sent when status is UpdateStatus::Failed.
Sourcepub fn error(&self) -> Option<&str>
pub fn error(&self) -> Option<&str>
The error name, sent when status is UpdateStatus::Failed.
Sourcepub fn status(&self) -> Option<UpdateStatus>
pub fn status(&self) -> Option<UpdateStatus>
The overall status of the update.
Trait Implementations§
Source§impl Debug for UpdateProgress
impl Debug for UpdateProgress
Source§impl<'de> Deserialize<'de> for UpdateProgress
impl<'de> Deserialize<'de> for UpdateProgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateProgress
impl RefUnwindSafe for UpdateProgress
impl Send for UpdateProgress
impl Sync for UpdateProgress
impl Unpin for UpdateProgress
impl UnsafeUnpin for UpdateProgress
impl UnwindSafe for UpdateProgress
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
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.