#[non_exhaustive]pub enum SettingIP6ConfigPrivacy {
Unknown,
Disabled,
PreferPublicAddr,
PreferTempAddr,
}Expand description
#NMSettingIP6ConfigPrivacy values indicate if and how IPv6 Privacy Extensions are used (RFC4941).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
unknown or no value specified
Disabled
IPv6 Privacy Extensions are disabled
PreferPublicAddr
IPv6 Privacy Extensions are enabled, but public addresses are preferred over temporary addresses
PreferTempAddr
IPv6 Privacy Extensions are enabled and temporary addresses are preferred over public addresses
Trait Implementations§
Source§impl Clone for SettingIP6ConfigPrivacy
impl Clone for SettingIP6ConfigPrivacy
Source§fn clone(&self) -> SettingIP6ConfigPrivacy
fn clone(&self) -> SettingIP6ConfigPrivacy
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 SettingIP6ConfigPrivacy
impl Debug for SettingIP6ConfigPrivacy
Source§impl From<SettingIP6ConfigPrivacy> for Value
impl From<SettingIP6ConfigPrivacy> for Value
Source§fn from(v: SettingIP6ConfigPrivacy) -> Self
fn from(v: SettingIP6ConfigPrivacy) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for SettingIP6ConfigPrivacy
impl<'a> FromValue<'a> for SettingIP6ConfigPrivacy
Source§type Checker = GenericValueTypeChecker<SettingIP6ConfigPrivacy>
type Checker = GenericValueTypeChecker<SettingIP6ConfigPrivacy>
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 SettingIP6ConfigPrivacy
impl HasParamSpec for SettingIP6ConfigPrivacy
type ParamSpec = ParamSpecEnum
Source§type SetValue = SettingIP6ConfigPrivacy
type SetValue = SettingIP6ConfigPrivacy
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, SettingIP6ConfigPrivacy) -> ParamSpecEnumBuilder<'_, SettingIP6ConfigPrivacy>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for SettingIP6ConfigPrivacy
impl Hash for SettingIP6ConfigPrivacy
Source§impl Ord for SettingIP6ConfigPrivacy
impl Ord for SettingIP6ConfigPrivacy
Source§fn cmp(&self, other: &SettingIP6ConfigPrivacy) -> Ordering
fn cmp(&self, other: &SettingIP6ConfigPrivacy) -> 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 SettingIP6ConfigPrivacy
impl PartialEq for SettingIP6ConfigPrivacy
Source§impl PartialOrd for SettingIP6ConfigPrivacy
impl PartialOrd for SettingIP6ConfigPrivacy
Source§impl StaticType for SettingIP6ConfigPrivacy
impl StaticType for SettingIP6ConfigPrivacy
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.Source§impl ToValue for SettingIP6ConfigPrivacy
impl ToValue for SettingIP6ConfigPrivacy
Source§impl ValueType for SettingIP6ConfigPrivacy
impl ValueType for SettingIP6ConfigPrivacy
Source§type Type = SettingIP6ConfigPrivacy
type Type = SettingIP6ConfigPrivacy
Type to get the
Type from. Read moreimpl Copy for SettingIP6ConfigPrivacy
impl Eq for SettingIP6ConfigPrivacy
impl StructuralPartialEq for SettingIP6ConfigPrivacy
Auto Trait Implementations§
impl Freeze for SettingIP6ConfigPrivacy
impl RefUnwindSafe for SettingIP6ConfigPrivacy
impl Send for SettingIP6ConfigPrivacy
impl Sync for SettingIP6ConfigPrivacy
impl Unpin for SettingIP6ConfigPrivacy
impl UnwindSafe for SettingIP6ConfigPrivacy
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> 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.