pub struct RsnInfo {
pub version: u16,
pub group_cipher: CipherSuite,
pub pairwise_ciphers: Vec<CipherSuite>,
pub akm_suites: Vec<AkmSuite>,
pub rsn_capabilities: u16,
pub pmkid_count: u16,
pub pmkids: Vec<[u8; 16]>,
pub group_mgmt_cipher: Option<CipherSuite>,
}Expand description
Parsed RSN (WPA2/WPA3) information.
Fields§
§version: u16RSN version (should be 1).
group_cipher: CipherSuiteGroup data cipher suite.
pairwise_ciphers: Vec<CipherSuite>Pairwise cipher suites.
akm_suites: Vec<AkmSuite>AKM suites.
rsn_capabilities: u16RSN capabilities (2 bytes, little-endian).
pmkid_count: u16PMKID count.
pmkids: Vec<[u8; 16]>PMKIDs (16 bytes each).
group_mgmt_cipher: Option<CipherSuite>Group management cipher suite (optional).
Trait Implementations§
impl Eq for RsnInfo
impl StructuralPartialEq for RsnInfo
Auto Trait Implementations§
impl Freeze for RsnInfo
impl RefUnwindSafe for RsnInfo
impl Send for RsnInfo
impl Sync for RsnInfo
impl Unpin for RsnInfo
impl UnsafeUnpin for RsnInfo
impl UnwindSafe for RsnInfo
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more