pub struct Dot11EltRSN {
pub info: RsnInfo,
}Expand description
RSN (Robust Security Network) Information Element (ID=48).
Fields§
§info: RsnInfoParsed RSN information.
Implementations§
Source§impl Dot11EltRSN
impl Dot11EltRSN
Sourcepub fn pre_auth(&self) -> bool
pub fn pre_auth(&self) -> bool
Check if pre-authentication is supported (bit 0 of RSN capabilities).
Sourcepub fn no_pairwise(&self) -> bool
pub fn no_pairwise(&self) -> bool
Check if no pairwise is set (bit 1 of RSN capabilities).
Sourcepub fn ptksa_replay_counter(&self) -> u8
pub fn ptksa_replay_counter(&self) -> u8
PTKSA Replay Counter (bits 2-3 of RSN capabilities).
Sourcepub fn gtksa_replay_counter(&self) -> u8
pub fn gtksa_replay_counter(&self) -> u8
GTKSA Replay Counter (bits 4-5 of RSN capabilities).
Sourcepub fn mfp_required(&self) -> bool
pub fn mfp_required(&self) -> bool
Management Frame Protection Required (bit 6).
Sourcepub fn mfp_capable(&self) -> bool
pub fn mfp_capable(&self) -> bool
Management Frame Protection Capable (bit 7).
Trait Implementations§
Source§impl Clone for Dot11EltRSN
impl Clone for Dot11EltRSN
Source§fn clone(&self) -> Dot11EltRSN
fn clone(&self) -> Dot11EltRSN
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 Debug for Dot11EltRSN
impl Debug for Dot11EltRSN
Source§impl PartialEq for Dot11EltRSN
impl PartialEq for Dot11EltRSN
impl Eq for Dot11EltRSN
impl StructuralPartialEq for Dot11EltRSN
Auto Trait Implementations§
impl Freeze for Dot11EltRSN
impl RefUnwindSafe for Dot11EltRSN
impl Send for Dot11EltRSN
impl Sync for Dot11EltRSN
impl Unpin for Dot11EltRSN
impl UnsafeUnpin for Dot11EltRSN
impl UnwindSafe for Dot11EltRSN
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