#[non_exhaustive]#[repr(u32)]pub enum nl80211_auth_type {
NL80211_AUTHTYPE_OPEN_SYSTEM = 0,
NL80211_AUTHTYPE_SHARED_KEY = 1,
NL80211_AUTHTYPE_FT = 2,
NL80211_AUTHTYPE_NETWORK_EAP = 3,
NL80211_AUTHTYPE_SAE = 4,
NL80211_AUTHTYPE_FILS_SK = 5,
NL80211_AUTHTYPE_FILS_SK_PFS = 6,
NL80211_AUTHTYPE_FILS_PK = 7,
__NL80211_AUTHTYPE_NUM = 8,
}
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.
NL80211_AUTHTYPE_OPEN_SYSTEM = 0
NL80211_AUTHTYPE_SHARED_KEY = 1
NL80211_AUTHTYPE_FT = 2
NL80211_AUTHTYPE_NETWORK_EAP = 3
NL80211_AUTHTYPE_SAE = 4
NL80211_AUTHTYPE_FILS_SK = 5
NL80211_AUTHTYPE_FILS_SK_PFS = 6
NL80211_AUTHTYPE_FILS_PK = 7
__NL80211_AUTHTYPE_NUM = 8
Implementations§
Source§impl nl80211_auth_type
impl nl80211_auth_type
pub const NL80211_AUTHTYPE_MAX: nl80211_auth_type = nl80211_auth_type::NL80211_AUTHTYPE_FILS_PK
Source§impl nl80211_auth_type
impl nl80211_auth_type
pub const NL80211_AUTHTYPE_AUTOMATIC: nl80211_auth_type = nl80211_auth_type::__NL80211_AUTHTYPE_NUM
Trait Implementations§
Source§impl Clone for nl80211_auth_type
impl Clone for nl80211_auth_type
Source§fn clone(&self) -> nl80211_auth_type
fn clone(&self) -> nl80211_auth_type
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 nl80211_auth_type
impl Debug for nl80211_auth_type
Source§impl Hash for nl80211_auth_type
impl Hash for nl80211_auth_type
Source§impl PartialEq for nl80211_auth_type
impl PartialEq for nl80211_auth_type
impl Copy for nl80211_auth_type
impl Eq for nl80211_auth_type
impl StructuralPartialEq for nl80211_auth_type
Auto Trait Implementations§
impl Freeze for nl80211_auth_type
impl RefUnwindSafe for nl80211_auth_type
impl Send for nl80211_auth_type
impl Sync for nl80211_auth_type
impl Unpin for nl80211_auth_type
impl UnwindSafe for nl80211_auth_type
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