#[non_exhaustive]pub enum UtilsSecurityType {
Invalid,
None,
StaticWep,
Leap,
DynamicWep,
WpaPsk,
WpaEnterprise,
Wpa2Psk,
Wpa2Enterprise,
Sae,
Owe,
Wpa3SuiteB192,
}Expand description
Describes generic security mechanisms that 802.11 access points may offer. Used with nm_utils_security_valid() for checking whether a given access point is compatible with a network device.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Invalid
unknown or invalid security, placeholder and not used
None
unencrypted and open
StaticWep
static WEP keys are used for encryption
Leap
Cisco LEAP is used for authentication and for generating the dynamic WEP keys automatically
DynamicWep
standard 802.1x is used for authentication and generating the dynamic WEP keys automatically
WpaPsk
WPA1 is used with Pre-Shared Keys (PSK)
WpaEnterprise
WPA1 is used with 802.1x authentication
Wpa2Psk
WPA2/RSN is used with Pre-Shared Keys (PSK)
Wpa2Enterprise
WPA2 is used with 802.1x authentication
Sae
is used with WPA3 Enterprise
Owe
is used with Enhanced Open
Wpa3SuiteB192
is used with WPA3 Enterprise Suite-B 192 bit mode. Since: 1.30.
Trait Implementations§
Source§impl Clone for UtilsSecurityType
impl Clone for UtilsSecurityType
Source§fn clone(&self) -> UtilsSecurityType
fn clone(&self) -> UtilsSecurityType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UtilsSecurityType
impl Debug for UtilsSecurityType
Source§impl From<UtilsSecurityType> for Value
impl From<UtilsSecurityType> for Value
Source§fn from(v: UtilsSecurityType) -> Self
fn from(v: UtilsSecurityType) -> Self
Source§impl<'a> FromValue<'a> for UtilsSecurityType
impl<'a> FromValue<'a> for UtilsSecurityType
Source§type Checker = GenericValueTypeChecker<UtilsSecurityType>
type Checker = GenericValueTypeChecker<UtilsSecurityType>
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value. Read moreSource§impl HasParamSpec for UtilsSecurityType
impl HasParamSpec for UtilsSecurityType
type ParamSpec = ParamSpecEnum
Source§type SetValue = UtilsSecurityType
type SetValue = UtilsSecurityType
type BuilderFn = fn(&str, UtilsSecurityType) -> ParamSpecEnumBuilder<'_, UtilsSecurityType>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for UtilsSecurityType
impl Hash for UtilsSecurityType
Source§impl Ord for UtilsSecurityType
impl Ord for UtilsSecurityType
Source§fn cmp(&self, other: &UtilsSecurityType) -> Ordering
fn cmp(&self, other: &UtilsSecurityType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for UtilsSecurityType
impl PartialEq for UtilsSecurityType
Source§impl PartialOrd for UtilsSecurityType
impl PartialOrd for UtilsSecurityType
Source§impl StaticType for UtilsSecurityType
impl StaticType for UtilsSecurityType
Source§fn static_type() -> Type
fn static_type() -> Type
Self.Source§impl ToValue for UtilsSecurityType
impl ToValue for UtilsSecurityType
Source§impl ValueType for UtilsSecurityType
impl ValueType for UtilsSecurityType
Source§type Type = UtilsSecurityType
type Type = UtilsSecurityType
Type from. Read moreimpl Copy for UtilsSecurityType
impl Eq for UtilsSecurityType
impl StructuralPartialEq for UtilsSecurityType
Auto Trait Implementations§
impl Freeze for UtilsSecurityType
impl RefUnwindSafe for UtilsSecurityType
impl Send for UtilsSecurityType
impl Sync for UtilsSecurityType
impl Unpin for UtilsSecurityType
impl UnwindSafe for UtilsSecurityType
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
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()
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue clone of self.