#[repr(u8)]pub enum WifiCipher {
Show 13 variants
None = 0,
WEP40 = 1,
WEP104 = 2,
TKIP = 3,
CCMP = 4,
TKIP_CCMP = 5,
AES_CMAC128 = 6,
SMS4 = 7,
GCMP = 8,
GCMP256 = 9,
AES_GMAC128 = 10,
AES_GMAC256 = 11,
UNKNOWN = 12,
}
Expand description
Variants§
None = 0
WEP40 = 1
WEP104 = 2
TKIP = 3
CCMP = 4
TKIP_CCMP = 5
AES_CMAC128 = 6
SMS4 = 7
GCMP = 8
GCMP256 = 9
AES_GMAC128 = 10
AES_GMAC256 = 11
UNKNOWN = 12
Trait Implementations§
Source§impl Clone for WifiCipher
impl Clone for WifiCipher
Source§fn clone(&self) -> WifiCipher
fn clone(&self) -> WifiCipher
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 WifiCipher
impl Default for WifiCipher
Source§fn default() -> WifiCipher
fn default() -> WifiCipher
Returns the “default value” for a type. Read more
Source§impl Format for WifiCipher
impl Format for WifiCipher
Source§impl PartialEq for WifiCipher
impl PartialEq for WifiCipher
Source§impl TryFrom<u8> for WifiCipher
impl TryFrom<u8> for WifiCipher
Source§type Error = TryFromPrimitiveError<WifiCipher>
type Error = TryFromPrimitiveError<WifiCipher>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WifiCipher
impl TryFromPrimitive for WifiCipher
const NAME: &'static str = "WifiCipher"
type Primitive = u8
type Error = TryFromPrimitiveError<WifiCipher>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WifiCipher
impl StructuralPartialEq for WifiCipher
Auto Trait Implementations§
impl Freeze for WifiCipher
impl RefUnwindSafe for WifiCipher
impl Send for WifiCipher
impl Sync for WifiCipher
impl Unpin for WifiCipher
impl UnwindSafe for WifiCipher
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