Enum nl80211_feature_flags

Source
#[non_exhaustive]
#[repr(u32)]
pub enum nl80211_feature_flags {
Show 31 variants NL80211_FEATURE_SK_TX_STATUS = 1, NL80211_FEATURE_HT_IBSS = 2, NL80211_FEATURE_INACTIVITY_TIMER = 4, NL80211_FEATURE_CELL_BASE_REG_HINTS = 8, NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 16, NL80211_FEATURE_SAE = 32, NL80211_FEATURE_LOW_PRIORITY_SCAN = 64, NL80211_FEATURE_SCAN_FLUSH = 128, NL80211_FEATURE_AP_SCAN = 256, NL80211_FEATURE_VIF_TXPOWER = 512, NL80211_FEATURE_NEED_OBSS_SCAN = 1_024, NL80211_FEATURE_P2P_GO_CTWIN = 2_048, NL80211_FEATURE_P2P_GO_OPPPS = 4_096, NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 16_384, NL80211_FEATURE_FULL_AP_CLIENT_STATE = 32_768, NL80211_FEATURE_USERSPACE_MPM = 65_536, NL80211_FEATURE_ACTIVE_MONITOR = 131_072, NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 262_144, NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 524_288, NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1_048_576, NL80211_FEATURE_QUIET = 2_097_152, NL80211_FEATURE_TX_POWER_INSERTION = 4_194_304, NL80211_FEATURE_ACKTO_ESTIMATION = 8_388_608, NL80211_FEATURE_STATIC_SMPS = 16_777_216, NL80211_FEATURE_DYNAMIC_SMPS = 33_554_432, NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 67_108_864, NL80211_FEATURE_MAC_ON_CREATE = 134_217_728, NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 268_435_456, NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 536_870_912, NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 1_073_741_824, NL80211_FEATURE_ND_RANDOM_MAC_ADDR = 2_147_483_648,
}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

NL80211_FEATURE_SK_TX_STATUS = 1

§

NL80211_FEATURE_HT_IBSS = 2

§

NL80211_FEATURE_INACTIVITY_TIMER = 4

§

NL80211_FEATURE_CELL_BASE_REG_HINTS = 8

§

NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 16

§

NL80211_FEATURE_SAE = 32

§

NL80211_FEATURE_LOW_PRIORITY_SCAN = 64

§

NL80211_FEATURE_SCAN_FLUSH = 128

§

NL80211_FEATURE_AP_SCAN = 256

§

NL80211_FEATURE_VIF_TXPOWER = 512

§

NL80211_FEATURE_NEED_OBSS_SCAN = 1_024

§

NL80211_FEATURE_P2P_GO_CTWIN = 2_048

§

NL80211_FEATURE_P2P_GO_OPPPS = 4_096

§

NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 16_384

§

NL80211_FEATURE_FULL_AP_CLIENT_STATE = 32_768

§

NL80211_FEATURE_USERSPACE_MPM = 65_536

§

NL80211_FEATURE_ACTIVE_MONITOR = 131_072

§

NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 262_144

§

NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 524_288

§

NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1_048_576

§

NL80211_FEATURE_QUIET = 2_097_152

§

NL80211_FEATURE_TX_POWER_INSERTION = 4_194_304

§

NL80211_FEATURE_ACKTO_ESTIMATION = 8_388_608

§

NL80211_FEATURE_STATIC_SMPS = 16_777_216

§

NL80211_FEATURE_DYNAMIC_SMPS = 33_554_432

§

NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 67_108_864

§

NL80211_FEATURE_MAC_ON_CREATE = 134_217_728

§

NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 268_435_456

§

NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 536_870_912

§

NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 1_073_741_824

§

NL80211_FEATURE_ND_RANDOM_MAC_ADDR = 2_147_483_648

Trait Implementations§

Source§

impl Clone for nl80211_feature_flags

Source§

fn clone(&self) -> nl80211_feature_flags

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for nl80211_feature_flags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for nl80211_feature_flags

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for nl80211_feature_flags

Source§

fn eq(&self, other: &nl80211_feature_flags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for nl80211_feature_flags

Source§

impl Eq for nl80211_feature_flags

Source§

impl StructuralPartialEq for nl80211_feature_flags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.