#[non_exhaustive]#[repr(u32)]pub enum nl80211_plink_state {
NL80211_PLINK_LISTEN = 0,
NL80211_PLINK_OPN_SNT = 1,
NL80211_PLINK_OPN_RCVD = 2,
NL80211_PLINK_CNF_RCVD = 3,
NL80211_PLINK_ESTAB = 4,
NL80211_PLINK_HOLDING = 5,
NL80211_PLINK_BLOCKED = 6,
NUM_NL80211_PLINK_STATES = 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_PLINK_LISTEN = 0
NL80211_PLINK_OPN_SNT = 1
NL80211_PLINK_OPN_RCVD = 2
NL80211_PLINK_CNF_RCVD = 3
NL80211_PLINK_ESTAB = 4
NL80211_PLINK_HOLDING = 5
NL80211_PLINK_BLOCKED = 6
NUM_NL80211_PLINK_STATES = 7
Implementations§
Source§impl nl80211_plink_state
impl nl80211_plink_state
pub const MAX_NL80211_PLINK_STATES: nl80211_plink_state = nl80211_plink_state::NL80211_PLINK_BLOCKED
Trait Implementations§
Source§impl Clone for nl80211_plink_state
impl Clone for nl80211_plink_state
Source§fn clone(&self) -> nl80211_plink_state
fn clone(&self) -> nl80211_plink_state
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_plink_state
impl Debug for nl80211_plink_state
Source§impl Hash for nl80211_plink_state
impl Hash for nl80211_plink_state
Source§impl PartialEq for nl80211_plink_state
impl PartialEq for nl80211_plink_state
impl Copy for nl80211_plink_state
impl Eq for nl80211_plink_state
impl StructuralPartialEq for nl80211_plink_state
Auto Trait Implementations§
impl Freeze for nl80211_plink_state
impl RefUnwindSafe for nl80211_plink_state
impl Send for nl80211_plink_state
impl Sync for nl80211_plink_state
impl Unpin for nl80211_plink_state
impl UnwindSafe for nl80211_plink_state
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