#[non_exhaustive]#[repr(u8)]pub enum Bandwidth {
Mhz1_7 = 0,
Mhz5 = 1,
Mhz6 = 2,
Mhz7 = 3,
Mhz8 = 4,
Mhz10 = 5,
}Expand description
Bandwidth per §5.2.7 Table 3.
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.
Mhz1_7 = 0
1.7 MHz bandwidth.
Mhz5 = 1
5 MHz bandwidth.
Mhz6 = 2
6 MHz bandwidth.
Mhz7 = 3
7 MHz bandwidth.
Mhz8 = 4
8 MHz bandwidth.
Mhz10 = 5
10 MHz bandwidth.
Implementations§
Trait Implementations§
impl Copy for Bandwidth
impl Eq for Bandwidth
impl StructuralPartialEq for Bandwidth
Auto Trait Implementations§
impl Freeze for Bandwidth
impl RefUnwindSafe for Bandwidth
impl Send for Bandwidth
impl Sync for Bandwidth
impl Unpin for Bandwidth
impl UnsafeUnpin for Bandwidth
impl UnwindSafe for Bandwidth
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