pub enum ActiveState {
Unknown,
Active,
Activating,
Reloading,
Inactive,
Failed,
Deactivating,
Maintenance,
Refreshing,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ActiveState
impl Clone for ActiveState
Source§fn clone(&self) -> ActiveState
fn clone(&self) -> ActiveState
Returns a duplicate 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 ActiveState
impl Debug for ActiveState
Source§impl Default for ActiveState
impl Default for ActiveState
Source§fn default() -> ActiveState
fn default() -> ActiveState
Returns the “default value” for a type. Read more
Source§impl Display for ActiveState
impl Display for ActiveState
Source§impl From<&str> for ActiveState
impl From<&str> for ActiveState
Source§impl From<ActiveState> for Value
impl From<ActiveState> for Value
Source§fn from(v: ActiveState) -> Self
fn from(v: ActiveState) -> Self
Converts to this type from the input type.
Source§impl From<Option<&OwnedValue>> for ActiveState
impl From<Option<&OwnedValue>> for ActiveState
Source§fn from(value: Option<&OwnedValue>) -> Self
fn from(value: Option<&OwnedValue>) -> Self
Converts to this type from the input type.
Source§impl From<String> for ActiveState
impl From<String> for ActiveState
Source§impl<'a> FromValue<'a> for ActiveState
impl<'a> FromValue<'a> for ActiveState
Source§type Checker = GenericValueTypeChecker<ActiveState>
type Checker = GenericValueTypeChecker<ActiveState>
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 ActiveState
impl HasParamSpec for ActiveState
type ParamSpec = ParamSpecEnum
Source§type SetValue = ActiveState
type SetValue = ActiveState
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, ActiveState) -> ParamSpecEnumBuilder<'_, ActiveState>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for ActiveState
impl Hash for ActiveState
Source§impl IntoEnumIterator for ActiveState
impl IntoEnumIterator for ActiveState
type Iterator = ActiveStateIter
fn iter() -> ActiveStateIter ⓘ
Source§impl Ord for ActiveState
impl Ord for ActiveState
Source§fn cmp(&self, other: &ActiveState) -> Ordering
fn cmp(&self, other: &ActiveState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActiveState
impl PartialEq for ActiveState
Source§impl PartialOrd for ActiveState
impl PartialOrd for ActiveState
Source§impl StaticType for ActiveState
impl StaticType for ActiveState
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.Source§impl ToValue for ActiveState
impl ToValue for ActiveState
Source§impl TryFromGlib<i32> for ActiveState
impl TryFromGlib<i32> for ActiveState
Source§impl ValueType for ActiveState
impl ValueType for ActiveState
Source§type Type = ActiveState
type Type = ActiveState
Type to get the
Type from. Read moreimpl Copy for ActiveState
impl Eq for ActiveState
impl StructuralPartialEq for ActiveState
Auto Trait Implementations§
impl Freeze for ActiveState
impl RefUnwindSafe for ActiveState
impl Send for ActiveState
impl Sync for ActiveState
impl Unpin for ActiveState
impl UnsafeUnpin for ActiveState
impl UnwindSafe for ActiveState
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,
Source§impl<T> HasParamSpecDefaulted for Twhere
T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32> + HasParamSpec<ParamSpec = ParamSpecEnum> + Default,
impl<T> HasParamSpecDefaulted for Twhere
T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32> + HasParamSpec<ParamSpec = ParamSpecEnum> + Default,
type BuilderFnDefaulted = fn(&str) -> ParamSpecEnumBuilder<'_, T>
fn param_spec_builder_defaulted() -> <T as HasParamSpecDefaulted>::BuilderFnDefaulted
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue clone of self.