[][src]Enum radiotap::field::mcs::Bandwidth

pub enum Bandwidth {
    BW20,
    BW40,
    BW20L,
    BW20U,
}

The bandwidth.

Variants

BW20
BW40
BW20L
BW20U

Implementations

impl Bandwidth[src]

pub fn to_mhz(&self) -> u8[src]

Returns the bandwidth in MHz.

Trait Implementations

impl Clone for Bandwidth[src]

impl Copy for Bandwidth[src]

impl Debug for Bandwidth[src]

impl Eq for Bandwidth[src]

impl From<Bandwidth> for Bandwidth[src]

impl Hash for Bandwidth[src]

impl Ord for Bandwidth[src]

impl PartialEq<Bandwidth> for Bandwidth[src]

impl PartialOrd<Bandwidth> for Bandwidth[src]

impl StructuralEq for Bandwidth[src]

impl StructuralPartialEq for Bandwidth[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.