#[non_exhaustive]#[repr(u32)]pub enum nl80211_nan_func_attributes {
Show 18 variants
__NL80211_NAN_FUNC_INVALID = 0,
NL80211_NAN_FUNC_TYPE = 1,
NL80211_NAN_FUNC_SERVICE_ID = 2,
NL80211_NAN_FUNC_PUBLISH_TYPE = 3,
NL80211_NAN_FUNC_PUBLISH_BCAST = 4,
NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 5,
NL80211_NAN_FUNC_FOLLOW_UP_ID = 6,
NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 7,
NL80211_NAN_FUNC_FOLLOW_UP_DEST = 8,
NL80211_NAN_FUNC_CLOSE_RANGE = 9,
NL80211_NAN_FUNC_TTL = 10,
NL80211_NAN_FUNC_SERVICE_INFO = 11,
NL80211_NAN_FUNC_SRF = 12,
NL80211_NAN_FUNC_RX_MATCH_FILTER = 13,
NL80211_NAN_FUNC_TX_MATCH_FILTER = 14,
NL80211_NAN_FUNC_INSTANCE_ID = 15,
NL80211_NAN_FUNC_TERM_REASON = 16,
NUM_NL80211_NAN_FUNC_ATTR = 17,
}
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_NAN_FUNC_INVALID = 0
NL80211_NAN_FUNC_TYPE = 1
NL80211_NAN_FUNC_SERVICE_ID = 2
NL80211_NAN_FUNC_PUBLISH_TYPE = 3
NL80211_NAN_FUNC_PUBLISH_BCAST = 4
NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 5
NL80211_NAN_FUNC_FOLLOW_UP_ID = 6
NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 7
NL80211_NAN_FUNC_FOLLOW_UP_DEST = 8
NL80211_NAN_FUNC_CLOSE_RANGE = 9
NL80211_NAN_FUNC_TTL = 10
NL80211_NAN_FUNC_SERVICE_INFO = 11
NL80211_NAN_FUNC_SRF = 12
NL80211_NAN_FUNC_RX_MATCH_FILTER = 13
NL80211_NAN_FUNC_TX_MATCH_FILTER = 14
NL80211_NAN_FUNC_INSTANCE_ID = 15
NL80211_NAN_FUNC_TERM_REASON = 16
NUM_NL80211_NAN_FUNC_ATTR = 17
Implementations§
Source§impl nl80211_nan_func_attributes
impl nl80211_nan_func_attributes
pub const NL80211_NAN_FUNC_ATTR_MAX: nl80211_nan_func_attributes = nl80211_nan_func_attributes::NL80211_NAN_FUNC_TERM_REASON
Trait Implementations§
Source§impl Clone for nl80211_nan_func_attributes
impl Clone for nl80211_nan_func_attributes
Source§fn clone(&self) -> nl80211_nan_func_attributes
fn clone(&self) -> nl80211_nan_func_attributes
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_nan_func_attributes
impl Debug for nl80211_nan_func_attributes
Source§impl Hash for nl80211_nan_func_attributes
impl Hash for nl80211_nan_func_attributes
impl Copy for nl80211_nan_func_attributes
impl Eq for nl80211_nan_func_attributes
impl StructuralPartialEq for nl80211_nan_func_attributes
Auto Trait Implementations§
impl Freeze for nl80211_nan_func_attributes
impl RefUnwindSafe for nl80211_nan_func_attributes
impl Send for nl80211_nan_func_attributes
impl Sync for nl80211_nan_func_attributes
impl Unpin for nl80211_nan_func_attributes
impl UnwindSafe for nl80211_nan_func_attributes
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