#[non_exhaustive]#[repr(u32)]pub(crate) enum nl80211_nan_func_term_reason {
    NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0,
    NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 1,
    NL80211_NAN_FUNC_TERM_REASON_ERROR = 2,
}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_TERM_REASON_USER_REQUEST = 0
NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 1
NL80211_NAN_FUNC_TERM_REASON_ERROR = 2
Trait Implementations§
Source§impl Clone for nl80211_nan_func_term_reason
 
impl Clone for nl80211_nan_func_term_reason
Source§fn clone(&self) -> nl80211_nan_func_term_reason
 
fn clone(&self) -> nl80211_nan_func_term_reason
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_term_reason
 
impl Debug for nl80211_nan_func_term_reason
Source§impl Hash for nl80211_nan_func_term_reason
 
impl Hash for nl80211_nan_func_term_reason
Source§impl PartialEq for nl80211_nan_func_term_reason
 
impl PartialEq for nl80211_nan_func_term_reason
Source§fn eq(&self, other: &nl80211_nan_func_term_reason) -> bool
 
fn eq(&self, other: &nl80211_nan_func_term_reason) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl Copy for nl80211_nan_func_term_reason
impl Eq for nl80211_nan_func_term_reason
impl StructuralPartialEq for nl80211_nan_func_term_reason
Auto Trait Implementations§
impl Freeze for nl80211_nan_func_term_reason
impl RefUnwindSafe for nl80211_nan_func_term_reason
impl Send for nl80211_nan_func_term_reason
impl Sync for nl80211_nan_func_term_reason
impl Unpin for nl80211_nan_func_term_reason
impl UnwindSafe for nl80211_nan_func_term_reason
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