#[non_exhaustive]#[repr(u32)]pub enum nl80211_tdls_operation {
NL80211_TDLS_DISCOVERY_REQ = 0,
NL80211_TDLS_SETUP = 1,
NL80211_TDLS_TEARDOWN = 2,
NL80211_TDLS_ENABLE_LINK = 3,
NL80211_TDLS_DISABLE_LINK = 4,
}
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_TDLS_DISCOVERY_REQ = 0
NL80211_TDLS_SETUP = 1
NL80211_TDLS_TEARDOWN = 2
NL80211_TDLS_ENABLE_LINK = 3
NL80211_TDLS_DISABLE_LINK = 4
Trait Implementations§
Source§impl Clone for nl80211_tdls_operation
impl Clone for nl80211_tdls_operation
Source§fn clone(&self) -> nl80211_tdls_operation
fn clone(&self) -> nl80211_tdls_operation
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_tdls_operation
impl Debug for nl80211_tdls_operation
Source§impl Hash for nl80211_tdls_operation
impl Hash for nl80211_tdls_operation
Source§impl PartialEq for nl80211_tdls_operation
impl PartialEq for nl80211_tdls_operation
impl Copy for nl80211_tdls_operation
impl Eq for nl80211_tdls_operation
impl StructuralPartialEq for nl80211_tdls_operation
Auto Trait Implementations§
impl Freeze for nl80211_tdls_operation
impl RefUnwindSafe for nl80211_tdls_operation
impl Send for nl80211_tdls_operation
impl Sync for nl80211_tdls_operation
impl Unpin for nl80211_tdls_operation
impl UnwindSafe for nl80211_tdls_operation
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