Enum AuthenticationMethod
#[non_exhaustive]pub enum AuthenticationMethod {
Show 17 variants
None,
Wep,
Wpa,
Wpa2Personal,
WpaWpa2Personal,
Wpa2Enterprise,
Wpa3Personal,
Wpa2Wpa3Personal,
WapiPersonal,
Owe,
Wpa3EntSuiteB192Bit,
Wpa3ExtPsk,
Wpa3ExtPskMixed,
Dpp,
Wpa3Enterprise,
Wpa2Wpa3Enterprise,
WpaEnterprise,
}Expand description
Supported Wi-Fi authentication methods.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
None
No authentication (open network).
Wep
Wired Equivalent Privacy (WEP) authentication.
Wpa
Wi-Fi Protected Access (WPA) authentication.
Wpa2Personal
Wi-Fi Protected Access 2 (WPA2) Personal authentication (default).
WpaWpa2Personal
WPA/WPA2 Personal authentication (supports both).
Wpa2Enterprise
WPA2 Enterprise authentication.
Wpa3Personal
WPA3 Personal authentication.
Wpa2Wpa3Personal
WPA2/WPA3 Personal authentication (supports both).
WapiPersonal
WLAN Authentication and Privacy Infrastructure (WAPI).
Owe
Opportunistic Wireless Encryption (OWE)
Wpa3EntSuiteB192Bit
WPA3 Enterprise Suite B 192-bit Encryption
Wpa3ExtPsk
This authentication mode will yield same result as AuthenticationMethod::Wpa3Personal and is not recommended to be used. It will be deprecated in future, please use AuthenticationMethod::Wpa3Personal instead.
Wpa3ExtPskMixed
This authentication mode will yield same result as AuthenticationMethod::Wpa3Personal and is not recommended to be used. It will be deprecated in future, please use AuthenticationMethod::Wpa3Personal instead.
Dpp
Wi-Fi DPP / Wi-Fi Easy Connect
Wpa3Enterprise
WPA3-Enterprise Only Mode
Wpa2Wpa3Enterprise
WPA3-Enterprise Transition Mode
WpaEnterprise
WPA-Enterprise security
Trait Implementations§
§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for AuthenticationMethod
impl Debug for AuthenticationMethod
§impl Default for AuthenticationMethod
impl Default for AuthenticationMethod
§fn default() -> AuthenticationMethod
fn default() -> AuthenticationMethod
§impl Hash for AuthenticationMethod
impl Hash for AuthenticationMethod
§impl PartialEq for AuthenticationMethod
impl PartialEq for AuthenticationMethod
§fn eq(&self, other: &AuthenticationMethod) -> bool
fn eq(&self, other: &AuthenticationMethod) -> bool
self and other values to be equal, and is used by ==.§impl PartialOrd for AuthenticationMethod
impl PartialOrd for AuthenticationMethod
§fn partial_cmp(&self, other: &AuthenticationMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthenticationMethod) -> Option<Ordering>
impl Copy for AuthenticationMethod
impl Eq for AuthenticationMethod
impl StructuralPartialEq for AuthenticationMethod
Auto Trait Implementations§
impl Freeze for AuthenticationMethod
impl PsramSafe for AuthenticationMethod
impl RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin for AuthenticationMethod
impl UnsafeUnpin for AuthenticationMethod
impl UnwindSafe for AuthenticationMethod
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)