#[non_exhaustive]#[repr(u32)]pub enum nl80211_key_attributes {
__NL80211_KEY_INVALID = 0,
NL80211_KEY_DATA = 1,
NL80211_KEY_IDX = 2,
NL80211_KEY_CIPHER = 3,
NL80211_KEY_SEQ = 4,
NL80211_KEY_DEFAULT = 5,
NL80211_KEY_DEFAULT_MGMT = 6,
NL80211_KEY_TYPE = 7,
NL80211_KEY_DEFAULT_TYPES = 8,
NL80211_KEY_MODE = 9,
NL80211_KEY_DEFAULT_BEACON = 10,
__NL80211_KEY_AFTER_LAST = 11,
}
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_KEY_INVALID = 0
NL80211_KEY_DATA = 1
NL80211_KEY_IDX = 2
NL80211_KEY_CIPHER = 3
NL80211_KEY_SEQ = 4
NL80211_KEY_DEFAULT = 5
NL80211_KEY_DEFAULT_MGMT = 6
NL80211_KEY_TYPE = 7
NL80211_KEY_DEFAULT_TYPES = 8
NL80211_KEY_MODE = 9
NL80211_KEY_DEFAULT_BEACON = 10
__NL80211_KEY_AFTER_LAST = 11
Implementations§
Source§impl nl80211_key_attributes
impl nl80211_key_attributes
pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON
Trait Implementations§
Source§impl Clone for nl80211_key_attributes
impl Clone for nl80211_key_attributes
Source§fn clone(&self) -> nl80211_key_attributes
fn clone(&self) -> nl80211_key_attributes
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_key_attributes
impl Debug for nl80211_key_attributes
Source§impl Hash for nl80211_key_attributes
impl Hash for nl80211_key_attributes
Source§impl PartialEq for nl80211_key_attributes
impl PartialEq for nl80211_key_attributes
impl Copy for nl80211_key_attributes
impl Eq for nl80211_key_attributes
impl StructuralPartialEq for nl80211_key_attributes
Auto Trait Implementations§
impl Freeze for nl80211_key_attributes
impl RefUnwindSafe for nl80211_key_attributes
impl Send for nl80211_key_attributes
impl Sync for nl80211_key_attributes
impl Unpin for nl80211_key_attributes
impl UnwindSafe for nl80211_key_attributes
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