#[repr(u32)]pub enum UpdateStatus {
Running = 0,
Empty = 1,
Done = 2,
Failed = 3,
}
Expand description
The update status.
Variants§
Trait Implementations§
Source§impl Clone for UpdateStatus
impl Clone for UpdateStatus
Source§fn clone(&self) -> UpdateStatus
fn clone(&self) -> UpdateStatus
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 moreSource§impl Debug for UpdateStatus
impl Debug for UpdateStatus
Source§impl<'de> Deserialize<'de> for UpdateStatus
impl<'de> Deserialize<'de> for UpdateStatus
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
Source§impl From<UpdateStatus> for Value
impl From<UpdateStatus> for Value
Source§fn from(v: UpdateStatus) -> Self
fn from(v: UpdateStatus) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for UpdateStatus
impl<'a> FromValue<'a> for UpdateStatus
Source§type Checker = GenericValueTypeChecker<UpdateStatus>
type Checker = GenericValueTypeChecker<UpdateStatus>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl HasParamSpec for UpdateStatus
impl HasParamSpec for UpdateStatus
type ParamSpec = ParamSpecEnum
Source§type SetValue = UpdateStatus
type SetValue = UpdateStatus
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, UpdateStatus) -> ParamSpecEnumBuilder<'_, UpdateStatus>
fn param_spec_builder() -> Self::BuilderFn
Source§impl PartialEq for UpdateStatus
impl PartialEq for UpdateStatus
Source§impl Serialize for UpdateStatus
impl Serialize for UpdateStatus
Source§impl StaticType for UpdateStatus
impl StaticType for UpdateStatus
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for UpdateStatus
impl ToValue for UpdateStatus
Source§impl TryFromGlib<i32> for UpdateStatus
impl TryFromGlib<i32> for UpdateStatus
Source§impl Type for UpdateStatus
impl Type for UpdateStatus
Source§impl ValueType for UpdateStatus
impl ValueType for UpdateStatus
Source§type Type = UpdateStatus
type Type = UpdateStatus
Type to get the
Type
from. Read moreimpl Copy for UpdateStatus
impl Eq for UpdateStatus
impl StructuralPartialEq for UpdateStatus
Auto Trait Implementations§
impl Freeze for UpdateStatus
impl RefUnwindSafe for UpdateStatus
impl Send for UpdateStatus
impl Sync for UpdateStatus
impl Unpin for UpdateStatus
impl UnwindSafe for UpdateStatus
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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.
Source§impl<T> DynamicType for T
impl<T> DynamicType for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
§impl<T> ToSendValue for T
impl<T> ToSendValue for T
§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.