#[repr(u32)]pub enum TrEncryption {
Required = 0,
Preferred = 1,
Tolerated = 2,
}Variants§
Trait Implementations§
Source§impl Clone for TrEncryption
impl Clone for TrEncryption
Source§fn clone(&self) -> TrEncryption
fn clone(&self) -> TrEncryption
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 TrEncryption
impl Debug for TrEncryption
Source§impl Default for TrEncryption
impl Default for TrEncryption
Source§fn default() -> TrEncryption
fn default() -> TrEncryption
Returns the “default value” for a type. Read more
Source§impl From<Encryption> for TrEncryption
impl From<Encryption> for TrEncryption
Source§fn from(enc: Encryption) -> Self
fn from(enc: Encryption) -> Self
Converts to this type from the input type.
Source§impl From<TrEncryption> for Encryption
impl From<TrEncryption> for Encryption
Source§fn from(val: TrEncryption) -> Self
fn from(val: TrEncryption) -> Self
Converts to this type from the input type.
Source§impl From<TrEncryption> for Value
impl From<TrEncryption> for Value
Source§fn from(v: TrEncryption) -> Self
fn from(v: TrEncryption) -> Self
Converts to this type from the input type.
Source§impl From<u32> for TrEncryption
impl From<u32> for TrEncryption
Source§impl<'a> FromValue<'a> for TrEncryption
impl<'a> FromValue<'a> for TrEncryption
Source§type Checker = GenericValueTypeChecker<TrEncryption>
type Checker = GenericValueTypeChecker<TrEncryption>
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 TrEncryption
impl HasParamSpec for TrEncryption
type ParamSpec = ParamSpecEnum
Source§type SetValue = TrEncryption
type SetValue = TrEncryption
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, TrEncryption) -> ParamSpecEnumBuilder<'_, TrEncryption>
fn param_spec_builder() -> Self::BuilderFn
Source§impl PartialEq for TrEncryption
impl PartialEq for TrEncryption
Source§impl StaticType for TrEncryption
impl StaticType for TrEncryption
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.Source§impl ToValue for TrEncryption
impl ToValue for TrEncryption
Source§impl TryFromGlib<i32> for TrEncryption
impl TryFromGlib<i32> for TrEncryption
Source§impl ValueType for TrEncryption
impl ValueType for TrEncryption
Source§type Type = TrEncryption
type Type = TrEncryption
Type to get the
Type from. Read moreimpl Copy for TrEncryption
impl StructuralPartialEq for TrEncryption
Auto Trait Implementations§
impl Freeze for TrEncryption
impl RefUnwindSafe for TrEncryption
impl Send for TrEncryption
impl Sync for TrEncryption
impl Unpin for TrEncryption
impl UnwindSafe for TrEncryption
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
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.