Enum embedded_svc::wifi::PmfConfiguration
source · pub enum PmfConfiguration {
NotCapable,
Capable {
required: bool,
},
}
Expand description
Protected Management Frame configuration
Variants§
NotCapable
No support for PMF will be advertized (default)
Capable
Advertize PMF support and wether PMF is required or not
Fields
§
required: bool
Implementations§
source§impl PmfConfiguration
impl PmfConfiguration
sourcepub fn new_required() -> Self
pub fn new_required() -> Self
PMF configuration with PMF strictly required
sourcepub fn new_pmf_optional() -> Self
pub fn new_pmf_optional() -> Self
PMF configuration with PMF optional but available
Trait Implementations§
source§impl Clone for PmfConfiguration
impl Clone for PmfConfiguration
source§fn clone(&self) -> PmfConfiguration
fn clone(&self) -> PmfConfiguration
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PmfConfiguration
impl Debug for PmfConfiguration
source§impl Default for PmfConfiguration
impl Default for PmfConfiguration
source§fn default() -> PmfConfiguration
fn default() -> PmfConfiguration
Returns the “default value” for a type. Read more
source§impl PartialEq for PmfConfiguration
impl PartialEq for PmfConfiguration
source§fn eq(&self, other: &PmfConfiguration) -> bool
fn eq(&self, other: &PmfConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PmfConfiguration
impl Eq for PmfConfiguration
impl StructuralPartialEq for PmfConfiguration
Auto Trait Implementations§
impl Freeze for PmfConfiguration
impl RefUnwindSafe for PmfConfiguration
impl Send for PmfConfiguration
impl Sync for PmfConfiguration
impl Unpin for PmfConfiguration
impl UnwindSafe for PmfConfiguration
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)