pub struct DeauthenticationFrame<'a> { /* private fields */ }

Implementations§

source§

impl<'a> DeauthenticationFrame<'a>

source

pub fn new<T: Into<Cow<'a, [u8]>>>(bytes: T) -> Self

Trait Implementations§

source§

impl DeauthenticationFixedParametersTrait for DeauthenticationFrame<'_>

source§

impl FragmentSequenceTrait for DeauthenticationFrame<'_>

source§

const FRAGMENT_SEQUENCE_START: usize = 22usize

source§

const FRAGMENT_SEQUENCE_END: usize = _

source§

fn fragment_number(&self) -> u8

Fragment Number
source§

fn sequence_number(&self) -> u16

Sequence Number
source§

impl FrameTrait for DeauthenticationFrame<'_>

source§

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

source§

fn version(&self) -> FrameVersion

source§

fn type_(&self) -> FrameType

Main IEEE 802.11 Frame Type
source§

fn subtype(&self) -> FrameSubtype

IEEE 802.11 Frame Subtype
source§

fn to_ds(&self) -> bool

to Distribution System
source§

fn from_ds(&self) -> bool

from Distribution System
source§

fn ds_status(&self) -> DSStatus

source§

fn more_fragments(&self) -> bool

0: This is the last fragment 1: More fragments follow
source§

fn retry(&self) -> bool

0: Frame is not being retransmitted 1: Frame is being retransmitted
source§

fn pwr_mgt(&self) -> bool

0: STA will stay up 1: STA will go to sleep
source§

fn more_data(&self) -> bool

0: No data buffered 1: Data is buffered for STA at AP
source§

fn protected(&self) -> bool

0: Data is not protected 1: Data is protected
source§

fn order(&self) -> bool

0: Not strictly ordered 1: Strictly ordered
source§

fn duration_or_id(&self) -> DurationID

Duration or Association Identifier
source§

fn addr1(&self) -> MacAddress

source§

fn receiver_address(&self) -> MacAddress

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

fn destination_address(&self) -> Option<MacAddress>

Destination Address Who the packet is destined for.
source§

impl ManagementFrameTrait for DeauthenticationFrame<'_>

source§

fn addr2(&self) -> MacAddress

source§

fn addr3(&self) -> MacAddress

source§

fn transmitter_address(&self) -> Option<MacAddress>

Transmitter Address Who this packet came from wirelessly.
source§

fn source_address(&self) -> Option<MacAddress>

Source Address Who the packet came from.
source§

fn bssid_address(&self) -> Option<MacAddress>

Basic Service Set Address (BSSID) Basic Service Set ID for Multicast.
source§

fn station_address(&self) -> Option<MacAddress>

Station Address

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.