#[non_exhaustive]#[repr(u32)]pub enum nl80211_wmm_rule {
__NL80211_WMMR_INVALID = 0,
NL80211_WMMR_CW_MIN = 1,
NL80211_WMMR_CW_MAX = 2,
NL80211_WMMR_AIFSN = 3,
NL80211_WMMR_TXOP = 4,
__NL80211_WMMR_LAST = 5,
}
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_WMMR_INVALID = 0
NL80211_WMMR_CW_MIN = 1
NL80211_WMMR_CW_MAX = 2
NL80211_WMMR_AIFSN = 3
NL80211_WMMR_TXOP = 4
__NL80211_WMMR_LAST = 5
Implementations§
Source§impl nl80211_wmm_rule
impl nl80211_wmm_rule
pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP
Trait Implementations§
Source§impl Clone for nl80211_wmm_rule
impl Clone for nl80211_wmm_rule
Source§fn clone(&self) -> nl80211_wmm_rule
fn clone(&self) -> nl80211_wmm_rule
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 nl80211_wmm_rule
impl Debug for nl80211_wmm_rule
Source§impl Hash for nl80211_wmm_rule
impl Hash for nl80211_wmm_rule
Source§impl PartialEq for nl80211_wmm_rule
impl PartialEq for nl80211_wmm_rule
impl Copy for nl80211_wmm_rule
impl Eq for nl80211_wmm_rule
impl StructuralPartialEq for nl80211_wmm_rule
Auto Trait Implementations§
impl Freeze for nl80211_wmm_rule
impl RefUnwindSafe for nl80211_wmm_rule
impl Send for nl80211_wmm_rule
impl Sync for nl80211_wmm_rule
impl Unpin for nl80211_wmm_rule
impl UnwindSafe for nl80211_wmm_rule
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