Trait ieee80211::FrameTrait
source · pub trait FrameTrait {
Show 17 methods
// Required method
fn bytes(&self) -> &[u8] ⓘ;
// Provided methods
fn version(&self) -> FrameVersion { ... }
fn type_(&self) -> FrameType { ... }
fn subtype(&self) -> FrameSubtype { ... }
fn to_ds(&self) -> bool { ... }
fn from_ds(&self) -> bool { ... }
fn ds_status(&self) -> DSStatus { ... }
fn more_fragments(&self) -> bool { ... }
fn retry(&self) -> bool { ... }
fn pwr_mgt(&self) -> bool { ... }
fn more_data(&self) -> bool { ... }
fn protected(&self) -> bool { ... }
fn order(&self) -> bool { ... }
fn duration_or_id(&self) -> DurationID { ... }
fn addr1(&self) -> MacAddress { ... }
fn receiver_address(&self) -> MacAddress { ... }
fn destination_address(&self) -> Option<MacAddress> { ... }
}
Required Methods§
Provided Methods§
fn version(&self) -> FrameVersion
sourcefn subtype(&self) -> FrameSubtype
fn subtype(&self) -> FrameSubtype
IEEE 802.11 Frame Subtype
fn ds_status(&self) -> DSStatus
sourcefn more_fragments(&self) -> bool
fn more_fragments(&self) -> bool
0: This is the last fragment 1: More fragments follow
sourcefn duration_or_id(&self) -> DurationID
fn duration_or_id(&self) -> DurationID
Duration or Association Identifier
fn addr1(&self) -> MacAddress
sourcefn receiver_address(&self) -> MacAddress
fn receiver_address(&self) -> MacAddress
Receiver Address Who this packet is destined for wirelessly. Address 1
sourcefn destination_address(&self) -> Option<MacAddress>
fn destination_address(&self) -> Option<MacAddress>
Destination Address Who the packet is destined for.