#[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,
}wifi only.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§
Source§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
Source§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 moreSource§impl Debug for AuthenticationMethod
impl Debug for AuthenticationMethod
Source§impl Default for AuthenticationMethod
impl Default for AuthenticationMethod
Source§fn default() -> AuthenticationMethod
fn default() -> AuthenticationMethod
Source§impl Format for AuthenticationMethod
impl Format for AuthenticationMethod
Source§impl Hash for AuthenticationMethod
impl Hash for AuthenticationMethod
Source§impl PartialEq for AuthenticationMethod
impl PartialEq for AuthenticationMethod
Source§impl PartialOrd for AuthenticationMethod
impl PartialOrd for AuthenticationMethod
Source§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 RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin 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
§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)