[−][src]Struct radiotap::field::mcs::Mcs
Implementations
impl Mcs
[src]
pub fn bandwidth(&self) -> Option<Bandwidth>
[src]
Returns the bandwidth.
pub fn index(&self) -> Option<u8>
[src]
Returns the MCS index.
pub fn guard_interval(&self) -> Option<GuardInterval>
[src]
Returns the guard interval.
pub fn format(&self) -> Option<Format>
[src]
Returns the HT format.
pub fn fec(&self) -> Option<Fec>
[src]
Returns the FEC type.
pub fn stbc(&self) -> Option<u8>
[src]
Returns the number of STBCs.
pub fn ness(&self) -> Option<u8>
[src]
Return the number of extension spatial streams.
pub fn nss(&self) -> Option<u8>
[src]
Returns the number of spatial streams (1 - 4) calculated using the MCS index.
pub fn to_mbps(&self) -> Option<Result<f32, InvalidDatarate>>
[src]
Returns the data rate in megabits per second.
pub const fn known(&self) -> Known
[src]
Returns the raw known information.
pub const fn flags(&self) -> Flags
[src]
Returns the raw flags.
Trait Implementations
impl Clone for Mcs
[src]
impl Copy for Mcs
[src]
impl Debug for Mcs
[src]
impl Eq for Mcs
[src]
impl FromBytes for Mcs
[src]
type Error = Error
The associated error which can be returned from parsing. Read more
fn from_bytes(bytes: &mut Bytes<'_>) -> Result<Self>
[src]
impl PartialEq<Mcs> for Mcs
[src]
impl StructuralEq for Mcs
[src]
impl StructuralPartialEq for Mcs
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mcs
impl Send for Mcs
impl Sync for Mcs
impl Unpin for Mcs
impl UnwindSafe for Mcs
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>,