#[repr(u8)]pub enum WiFiBand {
_2g4 = 0,
_3g65 = 1,
_5g = 2,
_6g = 3,
_60g = 4,
_1g = 5,
}Variants§
_2g4 = 0
2.4GHz - 2.401GHz to 2.495GHz (802.11b/g/n/ax)
_3g65 = 1
3.65GHz - 3.655GHz to 3.695GHz (802.11y)
_5g = 2
5GHz - 5.150GHz to 5.895GHz (802.11a/n/ac/ax)
_6g = 3
6GHz - 5.925GHz to 7.125GHz (802.11ax / Wi-Fi 6E)
_60g = 4
60GHz - 57.24GHz to 70.20GHz (802.11ad/ay)
_1g = 5
Sub-1GHz - 755MHz to 931MHz (802.11ah)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WiFiBand
impl<'de> Deserialize<'de> for WiFiBand
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
impl Copy for WiFiBand
impl Eq for WiFiBand
impl StructuralPartialEq for WiFiBand
Auto Trait Implementations§
impl Freeze for WiFiBand
impl RefUnwindSafe for WiFiBand
impl Send for WiFiBand
impl Sync for WiFiBand
impl Unpin for WiFiBand
impl UnwindSafe for WiFiBand
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