[−][src]Struct radiotap::field::vht::User
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,