pub struct DataFrame<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl DataFrameTrait for DataFrame<'_>
impl DataFrameTrait for DataFrame<'_>
fn addr2(&self) -> MacAddress
fn addr3(&self) -> MacAddress
fn addr4(&self) -> MacAddress
fn transmitter_address(&self) -> Option<MacAddress>
source§fn source_address(&self) -> Option<MacAddress>
fn source_address(&self) -> Option<MacAddress>
Source Address
Who the packet came from.
fn bssid_address(&self) -> Option<MacAddress>
fn station_address(&self) -> Option<MacAddress>
fn qos_control(&self) -> u8
source§impl FragmentSequenceTrait for DataFrame<'_>
impl FragmentSequenceTrait for DataFrame<'_>
const FRAGMENT_SEQUENCE_START: usize = 22usize
const FRAGMENT_SEQUENCE_END: usize = _
source§fn fragment_number(&self) -> u8
fn fragment_number(&self) -> u8
Fragment Number
source§fn sequence_number(&self) -> u16
fn sequence_number(&self) -> u16
Sequence Number
source§impl FrameTrait for DataFrame<'_>
impl FrameTrait for DataFrame<'_>
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 DataFrame<'a>
impl<'a> Send for DataFrame<'a>
impl<'a> Sync for DataFrame<'a>
impl<'a> Unpin for DataFrame<'a>
impl<'a> UnwindSafe for DataFrame<'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