#[repr(u8)]pub enum WifiBandwidth {
HT20 = 0,
BW20 = 1,
BW_HT40 = 2,
BW40 = 3,
BW80 = 4,
BW160 = 5,
BW80_BW80 = 6,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for WifiBandwidth
impl Clone for WifiBandwidth
Source§fn clone(&self) -> WifiBandwidth
fn clone(&self) -> WifiBandwidth
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 Default for WifiBandwidth
impl Default for WifiBandwidth
Source§fn default() -> WifiBandwidth
fn default() -> WifiBandwidth
Returns the “default value” for a type. Read more
Source§impl Format for WifiBandwidth
impl Format for WifiBandwidth
Source§impl PartialEq for WifiBandwidth
impl PartialEq for WifiBandwidth
Source§impl TryFrom<u8> for WifiBandwidth
impl TryFrom<u8> for WifiBandwidth
Source§type Error = TryFromPrimitiveError<WifiBandwidth>
type Error = TryFromPrimitiveError<WifiBandwidth>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for WifiBandwidth
impl TryFromPrimitive for WifiBandwidth
const NAME: &'static str = "WifiBandwidth"
type Primitive = u8
type Error = TryFromPrimitiveError<WifiBandwidth>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WifiBandwidth
impl StructuralPartialEq for WifiBandwidth
Auto Trait Implementations§
impl Freeze for WifiBandwidth
impl RefUnwindSafe for WifiBandwidth
impl Send for WifiBandwidth
impl Sync for WifiBandwidth
impl Unpin for WifiBandwidth
impl UnwindSafe for WifiBandwidth
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