pub struct Cipher {
pub oui: Oui,
pub suite_type: u8,
}
Fields§
§oui: Oui
§suite_type: u8
Implementations§
Source§impl Cipher
impl Cipher
Sourcepub const fn new_dot11(suite_type: u8) -> Self
pub const fn new_dot11(suite_type: u8) -> Self
Creates a new AKM instance for 802.11 specified AKMs. See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131
Sourcepub fn has_known_usage(&self) -> bool
pub fn has_known_usage(&self) -> bool
Reserved and vendor specific cipher suites have no known usage and require special treatments.
pub fn is_vendor_specific(&self) -> bool
pub fn is_reserved(&self) -> bool
pub fn is_enhanced(&self) -> bool
pub fn supports_gtk(&self) -> Option<bool>
pub fn supports_ptk(&self) -> Option<bool>
pub fn supports_igtk(&self) -> Option<bool>
pub fn tk_bytes(&self) -> Option<u8>
pub fn tk_bits(&self) -> Option<u16>
Trait Implementations§
Source§impl PartialOrd for Cipher
impl PartialOrd for Cipher
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§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
)