#[non_exhaustive]#[repr(u32)]pub enum nl80211_peer_measurement_req {
__NL80211_PMSR_REQ_ATTR_INVALID = 0,
NL80211_PMSR_REQ_ATTR_DATA = 1,
NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 2,
NUM_NL80211_PMSR_REQ_ATTRS = 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_PMSR_REQ_ATTR_INVALID = 0
NL80211_PMSR_REQ_ATTR_DATA = 1
NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 2
NUM_NL80211_PMSR_REQ_ATTRS = 3
Implementations§
Source§impl nl80211_peer_measurement_req
impl nl80211_peer_measurement_req
pub const NL80211_PMSR_REQ_ATTR_MAX: nl80211_peer_measurement_req = nl80211_peer_measurement_req::NL80211_PMSR_REQ_ATTR_GET_AP_TSF
Trait Implementations§
Source§impl Clone for nl80211_peer_measurement_req
impl Clone for nl80211_peer_measurement_req
Source§fn clone(&self) -> nl80211_peer_measurement_req
fn clone(&self) -> nl80211_peer_measurement_req
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_peer_measurement_req
impl Debug for nl80211_peer_measurement_req
Source§impl Hash for nl80211_peer_measurement_req
impl Hash for nl80211_peer_measurement_req
Source§impl PartialEq for nl80211_peer_measurement_req
impl PartialEq for nl80211_peer_measurement_req
Source§fn eq(&self, other: &nl80211_peer_measurement_req) -> bool
fn eq(&self, other: &nl80211_peer_measurement_req) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for nl80211_peer_measurement_req
impl Eq for nl80211_peer_measurement_req
impl StructuralPartialEq for nl80211_peer_measurement_req
Auto Trait Implementations§
impl Freeze for nl80211_peer_measurement_req
impl RefUnwindSafe for nl80211_peer_measurement_req
impl Send for nl80211_peer_measurement_req
impl Sync for nl80211_peer_measurement_req
impl Unpin for nl80211_peer_measurement_req
impl UnwindSafe for nl80211_peer_measurement_req
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