#[non_exhaustive]pub enum Setting8021xCKScheme {
Unknown,
Blob,
Path,
Pkcs11,
}Expand description
#NMSetting8021xCKScheme values indicate how a certificate or private key is stored in the setting properties, either as a blob of the item’s data, or as a path to a certificate or private key file on the filesystem
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 certificate or private key scheme
Blob
certificate or key is stored as the raw item data
Path
certificate or key is stored as a path to a file containing the certificate or key data
Pkcs11
certificate or key is stored as a URI of an object on a PKCS#11 token
Trait Implementations§
Source§impl Clone for Setting8021xCKScheme
impl Clone for Setting8021xCKScheme
Source§fn clone(&self) -> Setting8021xCKScheme
fn clone(&self) -> Setting8021xCKScheme
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 Setting8021xCKScheme
impl Debug for Setting8021xCKScheme
Source§impl From<Setting8021xCKScheme> for Value
impl From<Setting8021xCKScheme> for Value
Source§fn from(v: Setting8021xCKScheme) -> Self
fn from(v: Setting8021xCKScheme) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for Setting8021xCKScheme
impl<'a> FromValue<'a> for Setting8021xCKScheme
Source§type Checker = GenericValueTypeChecker<Setting8021xCKScheme>
type Checker = GenericValueTypeChecker<Setting8021xCKScheme>
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 Setting8021xCKScheme
impl HasParamSpec for Setting8021xCKScheme
type ParamSpec = ParamSpecEnum
Source§type SetValue = Setting8021xCKScheme
type SetValue = Setting8021xCKScheme
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, Setting8021xCKScheme) -> ParamSpecEnumBuilder<'_, Setting8021xCKScheme>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for Setting8021xCKScheme
impl Hash for Setting8021xCKScheme
Source§impl Ord for Setting8021xCKScheme
impl Ord for Setting8021xCKScheme
Source§fn cmp(&self, other: &Setting8021xCKScheme) -> Ordering
fn cmp(&self, other: &Setting8021xCKScheme) -> 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 Setting8021xCKScheme
impl PartialEq for Setting8021xCKScheme
Source§impl PartialOrd for Setting8021xCKScheme
impl PartialOrd for Setting8021xCKScheme
Source§impl StaticType for Setting8021xCKScheme
impl StaticType for Setting8021xCKScheme
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.Source§impl ToValue for Setting8021xCKScheme
impl ToValue for Setting8021xCKScheme
Source§impl ValueType for Setting8021xCKScheme
impl ValueType for Setting8021xCKScheme
Source§type Type = Setting8021xCKScheme
type Type = Setting8021xCKScheme
Type to get the
Type from. Read moreimpl Copy for Setting8021xCKScheme
impl Eq for Setting8021xCKScheme
impl StructuralPartialEq for Setting8021xCKScheme
Auto Trait Implementations§
impl Freeze for Setting8021xCKScheme
impl RefUnwindSafe for Setting8021xCKScheme
impl Send for Setting8021xCKScheme
impl Sync for Setting8021xCKScheme
impl Unpin for Setting8021xCKScheme
impl UnwindSafe for Setting8021xCKScheme
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.