#[repr(u8)]pub enum WifiAuthMode {
Open = 0,
WEP = 1,
WPA_PSK = 2,
WPA2_PSK = 3,
WPA_WPA2_PSK = 4,
ENTERPRISE = 5,
WPA2_ENTERPRISE = 6,
WPA3_PSK = 7,
}
Expand description
Wi-Fi authmode type Strength of authmodes Personal Networks : OPEN < WEP < WPA_PSK < OWE < WPA2_PSK = WPA_WPA2_PSK < WAPI_PSK < WPA3_PSK = WPA2_WPA3_PSK = DPP Enterprise Networks : WIFI_AUTH_WPA2_ENTERPRISE < WIFI_AUTH_WPA3_ENTERPRISE = WIFI_AUTH_WPA2_WPA3_ENTERPRISE < WIFI_AUTH_WPA3_ENT_192. docs
Variants§
Open = 0
WEP = 1
WPA_PSK = 2
WPA2_PSK = 3
WPA_WPA2_PSK = 4
ENTERPRISE = 5
WPA2_ENTERPRISE = 6
WPA3_PSK = 7
Trait Implementations§
Source§impl Clone for WifiAuthMode
impl Clone for WifiAuthMode
Source§fn clone(&self) -> WifiAuthMode
fn clone(&self) -> WifiAuthMode
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 Default for WifiAuthMode
impl Default for WifiAuthMode
Source§fn default() -> WifiAuthMode
fn default() -> WifiAuthMode
Returns the “default value” for a type. Read more
Source§impl Format for WifiAuthMode
impl Format for WifiAuthMode
Source§impl PartialEq for WifiAuthMode
impl PartialEq for WifiAuthMode
Source§impl TryFrom<u8> for WifiAuthMode
impl TryFrom<u8> for WifiAuthMode
Source§type Error = TryFromPrimitiveError<WifiAuthMode>
type Error = TryFromPrimitiveError<WifiAuthMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WifiAuthMode
impl TryFromPrimitive for WifiAuthMode
const NAME: &'static str = "WifiAuthMode"
type Primitive = u8
type Error = TryFromPrimitiveError<WifiAuthMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WifiAuthMode
impl StructuralPartialEq for WifiAuthMode
Auto Trait Implementations§
impl Freeze for WifiAuthMode
impl RefUnwindSafe for WifiAuthMode
impl Send for WifiAuthMode
impl Sync for WifiAuthMode
impl Unpin for WifiAuthMode
impl UnwindSafe for WifiAuthMode
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