pub enum WifiSecurity {
Open,
Wep,
WpaPsk,
WpaEap,
Wpa2Psk,
Wpa2Eap,
Sae,
Owe,
Wpa3SuiteB192,
Unknown,
}Expand description
How a Wi-Fi network is secured, from its access point’s flags.
Dynamic WEP and LEAP look the same as WEP from an access point, so
all three show as Wep.
Variants§
Open
No encryption.
Wep
WEP.
WpaPsk
WPA with a password.
WpaEap
WPA with 802.1X, as an enterprise network.
Wpa2Psk
WPA2 with a password.
Wpa2Eap
WPA2 with 802.1X.
Sae
WPA3 with a password, also for a network that takes WPA2’s too.
Owe
Enhanced Open: encrypted, with no password.
Wpa3SuiteB192
WPA3 Enterprise’s 192-bit mode.
Unknown
Flags this doesn’t know.
Trait Implementations§
Source§impl Clone for WifiSecurity
impl Clone for WifiSecurity
impl Copy for WifiSecurity
Source§impl Debug for WifiSecurity
impl Debug for WifiSecurity
impl Eq for WifiSecurity
Source§impl PartialEq for WifiSecurity
impl PartialEq for WifiSecurity
impl StructuralPartialEq for WifiSecurity
Auto Trait Implementations§
impl Forget for WifiSecurity
impl Freeze for WifiSecurity
impl Move for WifiSecurity
impl RefUnwindSafe for WifiSecurity
impl Send for WifiSecurity
impl Sync for WifiSecurity
impl Unpin for WifiSecurity
impl UnsafeUnpin for WifiSecurity
impl UnwindSafe for WifiSecurity
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