Struct ieee80211::ControlFrame
source · pub struct ControlFrame<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl ControlFrameTrait for ControlFrame<'_>
impl ControlFrameTrait for ControlFrame<'_>
fn addr2(&self) -> MacAddress
fn transmitter_address(&self) -> Option<MacAddress>
fn source_address(&self) -> Option<MacAddress>
fn bssid_address(&self) -> Option<MacAddress>
fn station_address(&self) -> Option<MacAddress>
source§impl FrameTrait for ControlFrame<'_>
impl FrameTrait for ControlFrame<'_>
fn bytes(&self) -> &[u8] ⓘ
fn addr1(&self) -> MacAddress
source§fn destination_address(&self) -> Option<MacAddress>
fn destination_address(&self) -> Option<MacAddress>
Destination Address
Who the packet is destined for.
fn version(&self) -> FrameVersion
source§fn subtype(&self) -> FrameSubtype
fn subtype(&self) -> FrameSubtype
IEEE 802.11 Frame Subtype
fn ds_status(&self) -> DSStatus
source§fn more_fragments(&self) -> bool
fn more_fragments(&self) -> bool
0: This is the last fragment
1: More fragments follow
source§fn duration_or_id(&self) -> DurationID
fn duration_or_id(&self) -> DurationID
Duration or Association Identifier
source§fn receiver_address(&self) -> MacAddress
fn receiver_address(&self) -> MacAddress
Receiver Address
Who this packet is destined for wirelessly.
Address 1
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ControlFrame<'a>
impl<'a> Send for ControlFrame<'a>
impl<'a> Sync for ControlFrame<'a>
impl<'a> Unpin for ControlFrame<'a>
impl<'a> UnwindSafe for ControlFrame<'a>
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