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§

source

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

source

fn bytes_mut(&mut self) -> &mut [u8]

Provided Methods§

source

fn version(&mut self, version: FrameVersion)

source

fn type_(&mut self, type_: FrameType)

source

fn subtype(&mut self, subtype: FrameSubtype)

source

fn to_ds(&mut self, to_ds: bool)

source

fn from_ds(&mut self, from_ds: bool)

source

fn ds_status(&mut self, ds_status: DSStatus)

source

fn more_fragments(&mut self, more_fragments: bool)

source

fn retry(&mut self, retry: bool)

source

fn pwr_mgt(&mut self, pwr_mgt: bool)

source

fn more_data(&mut self, more_data: bool)

source

fn protected(&mut self, protected: bool)

source

fn order(&mut self, order: bool)

source

fn duration_or_id(&mut self, _duration_or_id: DurationID)

source

fn addr1(&mut self, mac_address: MacAddress)

source

fn receiver_address(&mut self, mac_address: MacAddress)

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

source

fn destination_address(&mut self, mac_address: MacAddress)

Destination Address Who the packet is destined for.

Implementors§