#[non_exhaustive]#[repr(u32)]pub enum nl80211_iftype {
Show 14 variants
NL80211_IFTYPE_UNSPECIFIED = 0,
NL80211_IFTYPE_ADHOC = 1,
NL80211_IFTYPE_STATION = 2,
NL80211_IFTYPE_AP = 3,
NL80211_IFTYPE_AP_VLAN = 4,
NL80211_IFTYPE_WDS = 5,
NL80211_IFTYPE_MONITOR = 6,
NL80211_IFTYPE_MESH_POINT = 7,
NL80211_IFTYPE_P2P_CLIENT = 8,
NL80211_IFTYPE_P2P_GO = 9,
NL80211_IFTYPE_P2P_DEVICE = 10,
NL80211_IFTYPE_OCB = 11,
NL80211_IFTYPE_NAN = 12,
NUM_NL80211_IFTYPES = 13,
}
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_IFTYPE_UNSPECIFIED = 0
NL80211_IFTYPE_ADHOC = 1
NL80211_IFTYPE_STATION = 2
NL80211_IFTYPE_AP = 3
NL80211_IFTYPE_AP_VLAN = 4
NL80211_IFTYPE_WDS = 5
NL80211_IFTYPE_MONITOR = 6
NL80211_IFTYPE_MESH_POINT = 7
NL80211_IFTYPE_P2P_CLIENT = 8
NL80211_IFTYPE_P2P_GO = 9
NL80211_IFTYPE_P2P_DEVICE = 10
NL80211_IFTYPE_OCB = 11
NL80211_IFTYPE_NAN = 12
NUM_NL80211_IFTYPES = 13
Implementations§
Source§impl nl80211_iftype
impl nl80211_iftype
pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN
Trait Implementations§
Source§impl Clone for nl80211_iftype
impl Clone for nl80211_iftype
Source§fn clone(&self) -> nl80211_iftype
fn clone(&self) -> nl80211_iftype
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_iftype
impl Debug for nl80211_iftype
Source§impl Hash for nl80211_iftype
impl Hash for nl80211_iftype
Source§impl PartialEq for nl80211_iftype
impl PartialEq for nl80211_iftype
impl Copy for nl80211_iftype
impl Eq for nl80211_iftype
impl StructuralPartialEq for nl80211_iftype
Auto Trait Implementations§
impl Freeze for nl80211_iftype
impl RefUnwindSafe for nl80211_iftype
impl Send for nl80211_iftype
impl Sync for nl80211_iftype
impl Unpin for nl80211_iftype
impl UnwindSafe for nl80211_iftype
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