#[non_exhaustive]#[repr(u32)]pub enum nl80211_peer_measurement_ftm_failure_reasons {
NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0,
NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 1,
NL80211_PMSR_FTM_FAILURE_REJECTED = 2,
NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 3,
NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 4,
NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 5,
NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 6,
NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 7,
}
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_FTM_FAILURE_UNSPECIFIED = 0
NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 1
NL80211_PMSR_FTM_FAILURE_REJECTED = 2
NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 3
NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 4
NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 5
NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 6
NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 7
Trait Implementations§
Source§impl Clone for nl80211_peer_measurement_ftm_failure_reasons
impl Clone for nl80211_peer_measurement_ftm_failure_reasons
Source§fn clone(&self) -> nl80211_peer_measurement_ftm_failure_reasons
fn clone(&self) -> nl80211_peer_measurement_ftm_failure_reasons
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 PartialEq for nl80211_peer_measurement_ftm_failure_reasons
impl PartialEq for nl80211_peer_measurement_ftm_failure_reasons
Source§fn eq(&self, other: &nl80211_peer_measurement_ftm_failure_reasons) -> bool
fn eq(&self, other: &nl80211_peer_measurement_ftm_failure_reasons) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for nl80211_peer_measurement_ftm_failure_reasons
impl Eq for nl80211_peer_measurement_ftm_failure_reasons
impl StructuralPartialEq for nl80211_peer_measurement_ftm_failure_reasons
Auto Trait Implementations§
impl Freeze for nl80211_peer_measurement_ftm_failure_reasons
impl RefUnwindSafe for nl80211_peer_measurement_ftm_failure_reasons
impl Send for nl80211_peer_measurement_ftm_failure_reasons
impl Sync for nl80211_peer_measurement_ftm_failure_reasons
impl Unpin for nl80211_peer_measurement_ftm_failure_reasons
impl UnwindSafe for nl80211_peer_measurement_ftm_failure_reasons
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