[][src]Struct radiotap::field::vht::User

pub struct User<'a> { /* fields omitted */ }

A VHT user.

This is created by the .users() method on the Vht field.

Implementations

impl<'_> User<'_>[src]

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

Returns the VHT index (1 - 9).

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

Returns the number of spatial streams (1 - 8).

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

Returns the number of space-time streams.

pub const fn fec(&self) -> Fec[src]

Returns the FEC type.

pub fn to_mbps(&self) -> Option<Result<f32, InvalidDatarate>>[src]

Returns the data rate in megabits per second.

Trait Implementations

impl<'a> Clone for User<'a>[src]

impl<'a> Copy for User<'a>[src]

impl<'a> Debug for User<'a>[src]

impl<'a> Eq for User<'a>[src]

impl<'a> PartialEq<User<'a>> for User<'a>[src]

impl<'a> StructuralEq for User<'a>[src]

impl<'a> StructuralPartialEq for User<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for User<'a>

impl<'a> Send for User<'a>

impl<'a> Sync for User<'a>

impl<'a> Unpin for User<'a>

impl<'a> UnwindSafe for User<'a>

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.