pub enum WifiSecurity {
Open,
Wep,
Wpa2Personal,
Wpa2Enterprise,
Wpa3Personal,
Wpa3Enterprise,
Other(String),
}Expand description
Security mode of the associated wifi BSS.
Variants§
Open
No authentication.
Wep
WEP (deprecated).
Wpa2Personal
Wpa2Enterprise
Wpa3Personal
Wpa3Enterprise
Other(String)
An unrecognised security mode; the raw string is preserved.
Trait Implementations§
Source§impl Clone for WifiSecurity
impl Clone for WifiSecurity
Source§fn clone(&self) -> WifiSecurity
fn clone(&self) -> WifiSecurity
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 WifiSecurity
impl Debug for WifiSecurity
Source§impl<'de> Deserialize<'de> for WifiSecurity
impl<'de> Deserialize<'de> for WifiSecurity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WifiSecurity
impl PartialEq for WifiSecurity
Source§impl Serialize for WifiSecurity
impl Serialize for WifiSecurity
impl Eq for WifiSecurity
impl StructuralPartialEq for WifiSecurity
Auto Trait Implementations§
impl Freeze 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