pub struct Dot11EltRates {
pub rates: Vec<u8>,
}Expand description
Supported Rates Information Element (ID=1).
Each rate byte: bit 7 = basic rate flag, bits 0-6 = rate in 0.5 Mbps units.
Fields§
§rates: Vec<u8>Raw rate bytes.
Implementations§
Source§impl Dot11EltRates
impl Dot11EltRates
Sourcepub fn rates_mbps(&self) -> Vec<f32>
pub fn rates_mbps(&self) -> Vec<f32>
Get all rates in Mbps.
Trait Implementations§
Source§impl Clone for Dot11EltRates
impl Clone for Dot11EltRates
Source§fn clone(&self) -> Dot11EltRates
fn clone(&self) -> Dot11EltRates
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Dot11EltRates
impl Debug for Dot11EltRates
Source§impl PartialEq for Dot11EltRates
impl PartialEq for Dot11EltRates
impl Eq for Dot11EltRates
impl StructuralPartialEq for Dot11EltRates
Auto Trait Implementations§
impl Freeze for Dot11EltRates
impl RefUnwindSafe for Dot11EltRates
impl Send for Dot11EltRates
impl Sync for Dot11EltRates
impl Unpin for Dot11EltRates
impl UnsafeUnpin for Dot11EltRates
impl UnwindSafe for Dot11EltRates
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more