Struct ieee80211::ManagementFrameBuilder
source · pub struct ManagementFrameBuilder { /* private fields */ }
Implementations§
source§impl ManagementFrameBuilder
impl ManagementFrameBuilder
pub fn new_blank() -> Self
pub fn new_defaults() -> Self
pub fn build(&self) -> ManagementFrame<'_>
Trait Implementations§
source§impl FragmentSequenceBuilderTrait for ManagementFrameBuilder
impl FragmentSequenceBuilderTrait for ManagementFrameBuilder
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 ManagementFrameBuilder
impl FrameBuilderTrait for ManagementFrameBuilder
fn bytes(&self) -> &[u8] ⓘ
fn bytes_mut(&mut self) -> &mut [u8] ⓘ
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)
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
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.
source§impl ManagementFrameBuilderTrait for ManagementFrameBuilder
impl ManagementFrameBuilderTrait for ManagementFrameBuilder
fn addr2(&mut self, mac_address: MacAddress)
fn addr3(&mut self, mac_address: MacAddress)
source§fn transmitter_address(&mut self, mac_address: MacAddress)
fn transmitter_address(&mut self, mac_address: MacAddress)
Transmitter Address
Who this packet came from wirelessly.
source§fn source_address(&mut self, mac_address: MacAddress)
fn source_address(&mut self, mac_address: MacAddress)
Source Address
Who the packet came from.
fn bssid_address(&mut self, mac_address: MacAddress)
fn station_address(&mut self, _mac_address: MacAddress)
Auto Trait Implementations§
impl RefUnwindSafe for ManagementFrameBuilder
impl Send for ManagementFrameBuilder
impl Sync for ManagementFrameBuilder
impl Unpin for ManagementFrameBuilder
impl UnwindSafe for ManagementFrameBuilder
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