pub struct Akm {
pub oui: Oui,
pub suite_type: u8,
}
Fields§
§oui: Oui
§suite_type: u8
Implementations§
Source§impl Akm
impl Akm
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.3, Table 9-133.
Sourcepub fn has_known_algorithm(&self) -> bool
pub fn has_known_algorithm(&self) -> bool
Only AKMs specified in IEEE 802.11-2016, 9.4.2.25.4, Table 9-133 have known algorithms.
pub fn is_vendor_specific(&self) -> bool
pub fn is_reserved(&self) -> bool
pub fn mic_bytes(&self) -> Option<u16>
pub fn kck_bytes(&self) -> Option<u16>
pub fn kek_bytes(&self) -> Option<u16>
pub fn pmk_bytes(&self) -> Option<u16>
pub fn kck_bits(&self) -> Option<u16>
👎Deprecated: use
kck_bytes
insteadpub fn kek_bits(&self) -> Option<u16>
👎Deprecated: use
kek_bytes
insteadpub fn pmk_bits(&self) -> Option<u16>
👎Deprecated: use
pmk_bytes
insteadTrait Implementations§
Source§impl PartialOrd for Akm
impl PartialOrd for Akm
impl Eq for Akm
impl StructuralPartialEq for Akm
Auto Trait Implementations§
impl Freeze for Akm
impl RefUnwindSafe for Akm
impl Send for Akm
impl Sync for Akm
impl Unpin for Akm
impl UnwindSafe for Akm
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
)