Enum nl80211_reg_rule_flags

Source
#[non_exhaustive]
#[repr(u32)]
pub enum nl80211_reg_rule_flags {
Show 24 variants NL80211_RRF_NO_OFDM = 1, NL80211_RRF_NO_CCK = 2, NL80211_RRF_NO_INDOOR = 4, NL80211_RRF_NO_OUTDOOR = 8, NL80211_RRF_DFS = 16, NL80211_RRF_PTP_ONLY = 32, NL80211_RRF_PTMP_ONLY = 64, NL80211_RRF_NO_IR = 128, __NL80211_RRF_NO_IBSS = 256, NL80211_RRF_AUTO_BW = 2_048, NL80211_RRF_IR_CONCURRENT = 4_096, NL80211_RRF_NO_HT40MINUS = 8_192, NL80211_RRF_NO_HT40PLUS = 16_384, NL80211_RRF_NO_80MHZ = 32_768, NL80211_RRF_NO_160MHZ = 65_536, NL80211_RRF_NO_HE = 131_072, NL80211_RRF_NO_320MHZ = 262_144, NL80211_RRF_NO_EHT = 524_288, NL80211_RRF_PSD = 1_048_576, NL80211_RRF_DFS_CONCURRENT = 2_097_152, NL80211_RRF_NO_6GHZ_VLP_CLIENT = 4_194_304, NL80211_RRF_NO_6GHZ_AFC_CLIENT = 8_388_608, NL80211_RRF_ALLOW_6GHZ_VLP_AP = 16_777_216, NL80211_RRF_ALLOW_20MHZ_ACTIVITY = 33_554_432,
}

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_RRF_NO_OFDM = 1

§

NL80211_RRF_NO_CCK = 2

§

NL80211_RRF_NO_INDOOR = 4

§

NL80211_RRF_NO_OUTDOOR = 8

§

NL80211_RRF_DFS = 16

§

NL80211_RRF_PTP_ONLY = 32

§

NL80211_RRF_PTMP_ONLY = 64

§

NL80211_RRF_NO_IR = 128

§

__NL80211_RRF_NO_IBSS = 256

§

NL80211_RRF_AUTO_BW = 2_048

§

NL80211_RRF_IR_CONCURRENT = 4_096

§

NL80211_RRF_NO_HT40MINUS = 8_192

§

NL80211_RRF_NO_HT40PLUS = 16_384

§

NL80211_RRF_NO_80MHZ = 32_768

§

NL80211_RRF_NO_160MHZ = 65_536

§

NL80211_RRF_NO_HE = 131_072

§

NL80211_RRF_NO_320MHZ = 262_144

§

NL80211_RRF_NO_EHT = 524_288

§

NL80211_RRF_PSD = 1_048_576

§

NL80211_RRF_DFS_CONCURRENT = 2_097_152

§

NL80211_RRF_NO_6GHZ_VLP_CLIENT = 4_194_304

§

NL80211_RRF_NO_6GHZ_AFC_CLIENT = 8_388_608

§

NL80211_RRF_ALLOW_6GHZ_VLP_AP = 16_777_216

§

NL80211_RRF_ALLOW_20MHZ_ACTIVITY = 33_554_432

Trait Implementations§

Source§

impl Clone for nl80211_reg_rule_flags

Source§

fn clone(&self) -> nl80211_reg_rule_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_reg_rule_flags

Source§

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

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

impl Hash for nl80211_reg_rule_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_reg_rule_flags

Source§

fn eq(&self, other: &nl80211_reg_rule_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_reg_rule_flags

Source§

impl Eq for nl80211_reg_rule_flags

Source§

impl StructuralPartialEq for nl80211_reg_rule_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.