pub struct CapabilitiesInfo {
Show 14 fields pub ess_capabilities: bool, pub ibss_status: bool, pub cfp_partitipation_capabilities: u8, pub privacy: bool, pub short_preamble: bool, pub pbcc: bool, pub channel_agility: bool, pub spectrum_management: bool, pub short_slot_time: bool, pub automatic_power_save_delivery: bool, pub radio_measurement: bool, pub dsss_ofdm: bool, pub delayed_block_ack: bool, pub immediate_block_ack: bool,
}

Fields§

§ess_capabilities: bool

0: Transmitter is a STA 1: Transmitter is an AP

§ibss_status: bool

0: Transmitter belongs to a BSS 1: Transmitter belongs to an IBSS

§cfp_partitipation_capabilities: u8§privacy: bool

0: AP/STA cannot support WEP 1: AP/STA can support WEP

§short_preamble: bool

0: Not Allowed

§pbcc: bool

0: Not Allowed

§channel_agility: bool

0: Not in use

§spectrum_management: bool

0: Not Implemented

§short_slot_time: bool

1: In use

§automatic_power_save_delivery: bool

0: Not Implemented

§radio_measurement: bool

0: Not Implemented

§dsss_ofdm: bool

0: Not Implemented

§delayed_block_ack: bool

0: Not Implemented

§immediate_block_ack: bool

0: Not Implemented

Implementations§

source§

impl CapabilitiesInfo

source

pub fn from_bytes(bytes: &[u8]) -> Self

Trait Implementations§

source§

impl Debug for CapabilitiesInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CapabilitiesInfo> for CapabilitiesInfo

source§

fn eq(&self, other: &CapabilitiesInfo) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for CapabilitiesInfo

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.