Trait ieee80211::FrameBuilderTrait
source · pub trait FrameBuilderTrait {
Show 18 methods
// Required methods
fn bytes(&self) -> &[u8] ⓘ;
fn bytes_mut(&mut self) -> &mut [u8] ⓘ;
// Provided methods
fn version(&mut self, version: FrameVersion) { ... }
fn type_(&mut self, type_: FrameType) { ... }
fn subtype(&mut self, subtype: FrameSubtype) { ... }
fn to_ds(&mut self, to_ds: bool) { ... }
fn from_ds(&mut self, from_ds: bool) { ... }
fn ds_status(&mut self, ds_status: DSStatus) { ... }
fn more_fragments(&mut self, more_fragments: bool) { ... }
fn retry(&mut self, retry: bool) { ... }
fn pwr_mgt(&mut self, pwr_mgt: bool) { ... }
fn more_data(&mut self, more_data: bool) { ... }
fn protected(&mut self, protected: bool) { ... }
fn order(&mut self, order: bool) { ... }
fn duration_or_id(&mut self, _duration_or_id: DurationID) { ... }
fn addr1(&mut self, mac_address: MacAddress) { ... }
fn receiver_address(&mut self, mac_address: MacAddress) { ... }
fn destination_address(&mut self, mac_address: MacAddress) { ... }
}
Required Methods§
Provided Methods§
fn version(&mut self, version: FrameVersion)
fn type_(&mut self, type_: FrameType)
fn subtype(&mut self, subtype: FrameSubtype)
fn to_ds(&mut self, to_ds: bool)
fn from_ds(&mut self, from_ds: bool)
fn ds_status(&mut self, ds_status: DSStatus)
fn more_fragments(&mut self, more_fragments: bool)
fn retry(&mut self, retry: bool)
fn pwr_mgt(&mut self, pwr_mgt: bool)
fn more_data(&mut self, more_data: bool)
fn protected(&mut self, protected: bool)
fn order(&mut self, order: bool)
fn duration_or_id(&mut self, _duration_or_id: DurationID)
fn addr1(&mut self, mac_address: MacAddress)
sourcefn receiver_address(&mut self, mac_address: MacAddress)
fn receiver_address(&mut self, mac_address: MacAddress)
Receiver Address Who this packet is destined for wirelessly. Address 1
sourcefn destination_address(&mut self, mac_address: MacAddress)
fn destination_address(&mut self, mac_address: MacAddress)
Destination Address Who the packet is destined for.