pub struct Dot11EltCSA {
pub mode: u8,
pub new_channel: u8,
pub count: u8,
}Expand description
Channel Switch Announcement Information Element (ID=37).
Fields§
§mode: u8Channel switch mode (0 = no restriction, 1 = stop transmitting).
new_channel: u8New channel number.
count: u8Channel switch count (number of TBTTs until switch).
Implementations§
Trait Implementations§
Source§impl Clone for Dot11EltCSA
impl Clone for Dot11EltCSA
Source§fn clone(&self) -> Dot11EltCSA
fn clone(&self) -> Dot11EltCSA
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 Dot11EltCSA
impl Debug for Dot11EltCSA
Source§impl PartialEq for Dot11EltCSA
impl PartialEq for Dot11EltCSA
impl Eq for Dot11EltCSA
impl StructuralPartialEq for Dot11EltCSA
Auto Trait Implementations§
impl Freeze for Dot11EltCSA
impl RefUnwindSafe for Dot11EltCSA
impl Send for Dot11EltCSA
impl Sync for Dot11EltCSA
impl Unpin for Dot11EltCSA
impl UnsafeUnpin for Dot11EltCSA
impl UnwindSafe for Dot11EltCSA
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