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§

source

fn bytes(&self) -> &[u8]

Provided Methods§

source

fn version(&self) -> FrameVersion

source

fn type_(&self) -> FrameType

Main IEEE 802.11 Frame Type

source

fn subtype(&self) -> FrameSubtype

IEEE 802.11 Frame Subtype

source

fn to_ds(&self) -> bool

to Distribution System

source

fn from_ds(&self) -> bool

from Distribution System

source

fn ds_status(&self) -> DSStatus

source

fn more_fragments(&self) -> bool

0: This is the last fragment 1: More fragments follow

source

fn retry(&self) -> bool

0: Frame is not being retransmitted 1: Frame is being retransmitted

source

fn pwr_mgt(&self) -> bool

0: STA will stay up 1: STA will go to sleep

source

fn more_data(&self) -> bool

0: No data buffered 1: Data is buffered for STA at AP

source

fn protected(&self) -> bool

0: Data is not protected 1: Data is protected

source

fn order(&self) -> bool

0: Not strictly ordered 1: Strictly ordered

source

fn duration_or_id(&self) -> DurationID

Duration or Association Identifier

source

fn addr1(&self) -> MacAddress

source

fn receiver_address(&self) -> MacAddress

Receiver Address Who this packet is destined for wirelessly. Address 1

source

fn destination_address(&self) -> Option<MacAddress>

Destination Address Who the packet is destined for.

Implementors§