Enum wlan_common::security::wpa::Cipher
source · #[repr(u8)]pub enum Cipher {
TKIP = 0,
CCMP = 1,
GCMP = 2,
}
Expand description
General WPA cipher.
Names a cipher used across the family of WPA versions. Some versions of WPA may not support some of these algorithms.
Note that no types in this crate or module implement these ciphers nor encryption algorithms in any way; this type is strictly nominal.
Variants§
Trait Implementations§
source§impl From<Wpa2Cipher> for Cipher
impl From<Wpa2Cipher> for Cipher
source§fn from(cipher: Wpa2Cipher) -> Self
fn from(cipher: Wpa2Cipher) -> Self
Converts to this type from the input type.
source§impl From<Wpa3Cipher> for Cipher
impl From<Wpa3Cipher> for Cipher
source§fn from(cipher: Wpa3Cipher) -> Self
fn from(cipher: Wpa3Cipher) -> Self
Converts to this type from the input type.
source§impl PartialEq for Cipher
impl PartialEq for Cipher
source§impl TryFrom<Cipher> for Wpa2Cipher
impl TryFrom<Cipher> for Wpa2Cipher
source§impl TryFrom<Cipher> for Wpa3Cipher
impl TryFrom<Cipher> for Wpa3Cipher
impl Copy for Cipher
impl Eq for Cipher
impl StructuralPartialEq for Cipher
Auto Trait Implementations§
impl Freeze for Cipher
impl RefUnwindSafe for Cipher
impl Send for Cipher
impl Sync for Cipher
impl Unpin for Cipher
impl UnwindSafe for Cipher
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)