pub enum RecoveryState {
Unknown,
Disabled,
Enabled,
Incomplete,
}
Expand description
The state of the recovery.
Variants§
Unknown
The state is not known yet.
Disabled
Recovery is disabled.
Enabled
Recovery is enabled and we have all the keys.
Incomplete
Recovery is enabled and we are missing some keys.
Implementations§
Source§impl RecoveryState
impl RecoveryState
Sourcefn register_enum() -> Type
fn register_enum() -> Type
Registers the enum only once.
Trait Implementations§
Source§impl Clone for RecoveryState
impl Clone for RecoveryState
Source§fn clone(&self) -> RecoveryState
fn clone(&self) -> RecoveryState
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 RecoveryState
impl Debug for RecoveryState
Source§impl Default for RecoveryState
impl Default for RecoveryState
Source§fn default() -> RecoveryState
fn default() -> RecoveryState
Returns the “default value” for a type. Read more
Source§impl From<RecoveryState> for RecoveryState
impl From<RecoveryState> for RecoveryState
Source§fn from(value: SdkRecoveryState) -> Self
fn from(value: SdkRecoveryState) -> Self
Converts to this type from the input type.
Source§impl From<RecoveryState> for Value
impl From<RecoveryState> for Value
Source§fn from(v: RecoveryState) -> Self
fn from(v: RecoveryState) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for RecoveryState
impl<'a> FromValue<'a> for RecoveryState
Source§type Checker = GenericValueTypeChecker<RecoveryState>
type Checker = GenericValueTypeChecker<RecoveryState>
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 RecoveryState
impl HasParamSpec for RecoveryState
type ParamSpec = ParamSpecEnum
Source§type SetValue = RecoveryState
type SetValue = RecoveryState
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: RecoveryState) -> ParamSpecEnumBuilder<'_, RecoveryState>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Ord for RecoveryState
impl Ord for RecoveryState
Source§fn cmp(&self, other: &RecoveryState) -> Ordering
fn cmp(&self, other: &RecoveryState) -> 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 RecoveryState
impl PartialEq for RecoveryState
Source§impl PartialOrd for RecoveryState
impl PartialOrd for RecoveryState
Source§impl StaticType for RecoveryState
impl StaticType for RecoveryState
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for RecoveryState
impl ToValue for RecoveryState
Source§impl TryFromGlib<i32> for RecoveryState
impl TryFromGlib<i32> for RecoveryState
Source§impl ValueType for RecoveryState
impl ValueType for RecoveryState
Source§type Type = RecoveryState
type Type = RecoveryState
Type to get the
Type
from. Read moreimpl Copy for RecoveryState
impl Eq for RecoveryState
impl StructuralPartialEq for RecoveryState
Auto Trait Implementations§
impl Freeze for RecoveryState
impl RefUnwindSafe for RecoveryState
impl Send for RecoveryState
impl Sync for RecoveryState
impl Unpin for RecoveryState
impl UnwindSafe for RecoveryState
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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
.