Struct ieee80211::DataFrameBuilder
source · pub struct DataFrameBuilder { /* private fields */ }
Implementations§
Trait Implementations§
source§impl DataFrameBuilderTrait for DataFrameBuilder
impl DataFrameBuilderTrait for DataFrameBuilder
fn transmitter_address(&mut self, mac_address: MacAddress)
fn source_address(&mut self, mac_address: MacAddress)
fn bssid_address(&mut self, mac_address: MacAddress)
fn station_address(&mut self, mac_address: MacAddress)
fn addr2(&mut self, mac_address: MacAddress)
fn addr3(&mut self, mac_address: MacAddress)
fn addr4(&mut self, mac_address: MacAddress)
source§impl Default for DataFrameBuilder
impl Default for DataFrameBuilder
source§fn default() -> DataFrameBuilder
fn default() -> DataFrameBuilder
Returns the “default value” for a type. Read more
source§impl FragmentSequenceBuilderTrait for DataFrameBuilder
impl FragmentSequenceBuilderTrait for DataFrameBuilder
const FRAGMENT_SEQUENCE_START: usize = 22usize
const FRAGMENT_SEQUENCE_END: usize = _
source§fn fragment_number(&mut self, fragment_number: u8)
fn fragment_number(&mut self, fragment_number: u8)
Fragment Number
source§fn sequence_number(&mut self, sequence_number: u16)
fn sequence_number(&mut self, sequence_number: u16)
Sequence Number
source§impl FrameBuilderTrait for DataFrameBuilder
impl FrameBuilderTrait for DataFrameBuilder
fn bytes(&self) -> &[u8] ⓘ
fn bytes_mut(&mut self) -> &mut [u8] ⓘ
fn addr1(&mut self, mac_address: MacAddress)
source§fn destination_address(&mut self, mac_address: MacAddress)
fn destination_address(&mut self, mac_address: MacAddress)
Destination Address
Who the packet is destined for.
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)
source§fn 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
Auto Trait Implementations§
impl RefUnwindSafe for DataFrameBuilder
impl Send for DataFrameBuilder
impl Sync for DataFrameBuilder
impl Unpin for DataFrameBuilder
impl UnwindSafe for DataFrameBuilder
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