#[non_exhaustive]#[repr(u32)]pub enum nl80211_bitrate_attr {
__NL80211_BITRATE_ATTR_INVALID = 0,
NL80211_BITRATE_ATTR_RATE = 1,
NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 2,
__NL80211_BITRATE_ATTR_AFTER_LAST = 3,
}
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_BITRATE_ATTR_INVALID = 0
NL80211_BITRATE_ATTR_RATE = 1
NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 2
__NL80211_BITRATE_ATTR_AFTER_LAST = 3
Implementations§
Source§impl nl80211_bitrate_attr
impl nl80211_bitrate_attr
pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE
Trait Implementations§
Source§impl Clone for nl80211_bitrate_attr
impl Clone for nl80211_bitrate_attr
Source§fn clone(&self) -> nl80211_bitrate_attr
fn clone(&self) -> nl80211_bitrate_attr
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_bitrate_attr
impl Debug for nl80211_bitrate_attr
Source§impl Hash for nl80211_bitrate_attr
impl Hash for nl80211_bitrate_attr
Source§impl PartialEq for nl80211_bitrate_attr
impl PartialEq for nl80211_bitrate_attr
impl Copy for nl80211_bitrate_attr
impl Eq for nl80211_bitrate_attr
impl StructuralPartialEq for nl80211_bitrate_attr
Auto Trait Implementations§
impl Freeze for nl80211_bitrate_attr
impl RefUnwindSafe for nl80211_bitrate_attr
impl Send for nl80211_bitrate_attr
impl Sync for nl80211_bitrate_attr
impl Unpin for nl80211_bitrate_attr
impl UnwindSafe for nl80211_bitrate_attr
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