pub struct Dot11ReassocResp {
pub offset: usize,
}Expand description
802.11 Reassociation Response frame body (same as Association Response).
Fields§
§offset: usizeImplementations§
Source§impl Dot11ReassocResp
impl Dot11ReassocResp
pub fn new(offset: usize) -> Self
Sourcepub fn capability(&self, buf: &[u8]) -> Result<u16, FieldError>
pub fn capability(&self, buf: &[u8]) -> Result<u16, FieldError>
Capability information (little-endian u16).
Sourcepub fn status_code(&self, buf: &[u8]) -> Result<u16, FieldError>
pub fn status_code(&self, buf: &[u8]) -> Result<u16, FieldError>
Status code (little-endian u16).
Sourcepub fn header_len(&self) -> usize
pub fn header_len(&self) -> usize
Header length.
Trait Implementations§
Source§impl Clone for Dot11ReassocResp
impl Clone for Dot11ReassocResp
Source§fn clone(&self) -> Dot11ReassocResp
fn clone(&self) -> Dot11ReassocResp
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 moreAuto Trait Implementations§
impl Freeze for Dot11ReassocResp
impl RefUnwindSafe for Dot11ReassocResp
impl Send for Dot11ReassocResp
impl Sync for Dot11ReassocResp
impl Unpin for Dot11ReassocResp
impl UnsafeUnpin for Dot11ReassocResp
impl UnwindSafe for Dot11ReassocResp
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<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