Struct ieee80211::DeauthenticationFrameBuilder
source · pub struct DeauthenticationFrameBuilder { /* private fields */ }
Implementations§
source§impl DeauthenticationFrameBuilder
impl DeauthenticationFrameBuilder
pub fn new() -> Self
pub fn build(&self) -> DeauthenticationFrame<'_>
Trait Implementations§
source§impl DeauthenticationFixedParametersBuilderTrait for DeauthenticationFrameBuilder
impl DeauthenticationFixedParametersBuilderTrait for DeauthenticationFrameBuilder
const FIXED_PARAMETERS_START: usize = 24usize
const FIXED_PARAMETERS_END: usize = _
fn reason_code(&mut self, reason_code: ReasonCode)
source§impl Default for DeauthenticationFrameBuilder
impl Default for DeauthenticationFrameBuilder
source§fn default() -> DeauthenticationFrameBuilder
fn default() -> DeauthenticationFrameBuilder
Returns the “default value” for a type. Read more
source§impl FragmentSequenceBuilderTrait for DeauthenticationFrameBuilder
impl FragmentSequenceBuilderTrait for DeauthenticationFrameBuilder
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 DeauthenticationFrameBuilder
impl FrameBuilderTrait for DeauthenticationFrameBuilder
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 DeauthenticationFrameBuilder
impl ManagementFrameBuilderTrait for DeauthenticationFrameBuilder
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 DeauthenticationFrameBuilder
impl Send for DeauthenticationFrameBuilder
impl Sync for DeauthenticationFrameBuilder
impl Unpin for DeauthenticationFrameBuilder
impl UnwindSafe for DeauthenticationFrameBuilder
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