#[repr(u8)]pub enum WiFiVersion {
A = 0,
B = 1,
G = 2,
N = 3,
Ac = 4,
Ax = 5,
Ah = 6,
}Variants§
A = 0
Indicate the network interface is currently using IEEE 802.11a against the wireless access point.
B = 1
Indicate the network interface is currently using IEEE 802.11b against the wireless access point.
G = 2
Indicate the network interface is currently using IEEE 802.11g against the wireless access point.
N = 3
Indicate the network interface is currently using IEEE 802.11n against the wireless access point.
Ac = 4
Indicate the network interface is currently using IEEE 802.11ac against the wireless access point.
Ax = 5
Indicate the network interface is currently using IEEE 802.11ax against the wireless access point.
Ah = 6
Indicate the network interface is currently using IEEE 802.11ah against the wireless access point.
Implementations§
Trait Implementations§
Source§impl Clone for WiFiVersion
impl Clone for WiFiVersion
Source§fn clone(&self) -> WiFiVersion
fn clone(&self) -> WiFiVersion
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 WiFiVersion
impl Debug for WiFiVersion
Source§impl<'de> Deserialize<'de> for WiFiVersion
impl<'de> Deserialize<'de> for WiFiVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<WiFiVersion> for u8
impl From<WiFiVersion> for u8
Source§fn from(val: WiFiVersion) -> Self
fn from(val: WiFiVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WiFiVersion
impl PartialEq for WiFiVersion
Source§impl Serialize for WiFiVersion
impl Serialize for WiFiVersion
impl Copy for WiFiVersion
impl Eq for WiFiVersion
impl StructuralPartialEq for WiFiVersion
Auto Trait Implementations§
impl Freeze for WiFiVersion
impl RefUnwindSafe for WiFiVersion
impl Send for WiFiVersion
impl Sync for WiFiVersion
impl Unpin for WiFiVersion
impl UnwindSafe for WiFiVersion
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