#[repr(u8)]pub enum SecurityType {
Unspecified = 0,
None = 1,
Wep = 2,
Wpa = 3,
Wpa2 = 4,
Wpa3 = 5,
}Variants§
Unspecified = 0
Indicate the usage of an unspecified Wi-Fi security type
None = 1
Indicate the usage of no Wi-Fi security
Wep = 2
Indicate the usage of WEP Wi-Fi security
Wpa = 3
Indicate the usage of WPA Wi-Fi security
Wpa2 = 4
Indicate the usage of WPA2 Wi-Fi security
Wpa3 = 5
Indicate the usage of WPA3 Wi-Fi security
Implementations§
Trait Implementations§
Source§impl Clone for SecurityType
impl Clone for SecurityType
Source§fn clone(&self) -> SecurityType
fn clone(&self) -> SecurityType
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 SecurityType
impl Debug for SecurityType
Source§impl<'de> Deserialize<'de> for SecurityType
impl<'de> Deserialize<'de> for SecurityType
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 From<SecurityType> for u8
impl From<SecurityType> for u8
Source§fn from(val: SecurityType) -> Self
fn from(val: SecurityType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecurityType
impl PartialEq for SecurityType
Source§impl Serialize for SecurityType
impl Serialize for SecurityType
impl Copy for SecurityType
impl Eq for SecurityType
impl StructuralPartialEq for SecurityType
Auto Trait Implementations§
impl Freeze for SecurityType
impl RefUnwindSafe for SecurityType
impl Send for SecurityType
impl Sync for SecurityType
impl Unpin for SecurityType
impl UnwindSafe for SecurityType
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