pub struct RsnCapabilities(pub u16);
Tuple Fields§
§0: u16
Implementations§
Source§impl RsnCapabilities
impl RsnCapabilities
pub fn preauth(&self) -> bool
pub fn set_preauth(&mut self, value: bool)
pub fn with_preauth(self, value: bool) -> Self
pub fn no_pairwise(&self) -> bool
pub fn set_no_pairwise(&mut self, value: bool)
pub fn with_no_pairwise(self, value: bool) -> Self
pub fn ptksa_replay_counter(&self) -> u16
pub fn set_ptksa_replay_counter(&mut self, value: u16)
pub fn with_ptksa_replay_counter(self, value: u16) -> Self
pub fn gtksa_replay_counter(&self) -> u16
pub fn set_gtksa_replay_counter(&mut self, value: u16)
pub fn with_gtksa_replay_counter(self, value: u16) -> Self
pub fn mgmt_frame_protection_req(&self) -> bool
pub fn set_mgmt_frame_protection_req(&mut self, value: bool)
pub fn with_mgmt_frame_protection_req(self, value: bool) -> Self
pub fn mgmt_frame_protection_cap(&self) -> bool
pub fn set_mgmt_frame_protection_cap(&mut self, value: bool)
pub fn with_mgmt_frame_protection_cap(self, value: bool) -> Self
pub fn joint_multiband(&self) -> bool
pub fn set_joint_multiband(&mut self, value: bool)
pub fn with_joint_multiband(self, value: bool) -> Self
pub fn peerkey_enabled(&self) -> bool
pub fn set_peerkey_enabled(&mut self, value: bool)
pub fn with_peerkey_enabled(self, value: bool) -> Self
pub fn ssp_amsdu_cap(&self) -> bool
pub fn set_ssp_amsdu_cap(&mut self, value: bool)
pub fn with_ssp_amsdu_cap(self, value: bool) -> Self
pub fn ssp_amsdu_req(&self) -> bool
pub fn set_ssp_amsdu_req(&mut self, value: bool)
pub fn with_ssp_amsdu_req(self, value: bool) -> Self
pub fn pbac(&self) -> bool
pub fn set_pbac(&mut self, value: bool)
pub fn with_pbac(self, value: bool) -> Self
pub fn extended_key_id(&self) -> bool
pub fn set_extended_key_id(&mut self, value: bool)
pub fn with_extended_key_id(self, value: bool) -> Self
pub fn raw(&self) -> u16
Source§impl RsnCapabilities
impl RsnCapabilities
pub fn is_wpa2_compatible(&self) -> bool
pub fn is_wpa3_compatible(&self, wpa2_compatibility_mode: bool) -> bool
pub fn is_compatible_with_features( &self, security_support: &SecuritySupport, ) -> bool
Trait Implementations§
Source§impl Clone for RsnCapabilities
impl Clone for RsnCapabilities
Source§fn clone(&self) -> RsnCapabilities
fn clone(&self) -> RsnCapabilities
Returns a copy 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 RsnCapabilities
impl Debug for RsnCapabilities
Source§impl PartialEq for RsnCapabilities
impl PartialEq for RsnCapabilities
Source§impl PartialOrd for RsnCapabilities
impl PartialOrd for RsnCapabilities
impl StructuralPartialEq for RsnCapabilities
Auto Trait Implementations§
impl Freeze for RsnCapabilities
impl RefUnwindSafe for RsnCapabilities
impl Send for RsnCapabilities
impl Sync for RsnCapabilities
impl Unpin for RsnCapabilities
impl UnwindSafe for RsnCapabilities
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
)