fullmac_helpers

Struct COMPATIBLE_OPEN_BSS

Source
pub struct COMPATIBLE_OPEN_BSS { /* private fields */ }

Methods from Deref<Target = BssDescription>§

Source

pub fn rates(&self) -> &[SupportedRate]

Source

pub fn dtim_period(&self) -> u8

Source

pub fn country(&self) -> Option<&[u8]>

Source

pub fn rsne(&self) -> Option<&[u8]>

Source

pub fn ht_cap(&self) -> Option<Ref<&[u8], HtCapabilities>>

Source

pub fn raw_ht_cap(&self) -> Option<HtCapabilities>

Source

pub fn ht_op(&self) -> Option<Ref<&[u8], HtOperation>>

Source

pub fn rm_enabled_cap(&self) -> Option<Ref<&[u8], RmEnabledCapabilities>>

Source

pub fn ext_cap(&self) -> Option<ExtCapabilitiesView<&[u8]>>

Source

pub fn raw_ht_op(&self) -> Option<HtOperation>

Source

pub fn vht_cap(&self) -> Option<Ref<&[u8], VhtCapabilities>>

Source

pub fn raw_vht_cap(&self) -> Option<VhtCapabilities>

Source

pub fn vht_op(&self) -> Option<Ref<&[u8], VhtOperation>>

Source

pub fn raw_vht_op(&self) -> Option<VhtOperation>

Source

pub fn ies(&self) -> &[u8]

Source

pub fn is_protected(&self) -> bool

Return bool on whether BSS is protected.

Source

pub fn needs_eapol_exchange(&self) -> bool

Return bool on whether BSS has security type that would require exchanging EAPOL frames.

Source

pub fn protection(&self) -> Protection

Categorize BSS on what protection it supports.

Source

pub fn latest_standard(&self) -> Standard

Get the latest WLAN standard that the BSS supports.

Source

pub fn find_wpa_ie(&self) -> Option<&[u8]>

Search for vendor-specific Info Element for WPA. If found, return the body.

Source

pub fn wpa_ie(&self) -> Result<WpaIe, Error>

Search for WPA Info Element and parse it. If no WPA Info Element is found, or a WPA Info Element is found but is not valid, return an error.

Source

pub fn find_wmm_param(&self) -> Option<&[u8]>

Search for vendor-specific Info Element for WMM Parameter. If found, return the body.

Source

pub fn wmm_param(&self) -> Result<Ref<&[u8], WmmParam>, Error>

Search for WMM Parameter Element and parse it. If no WMM Parameter Element is found, return an error.

Source

pub fn find_wsc_ie(&self) -> Option<&[u8]>

Search for the WiFi Simple Configuration Info Element. If found, return the body.

Source

pub fn probe_resp_wsc(&self) -> Option<ProbeRespWsc>

Source

pub fn supports_uapsd(&self) -> bool

Source

pub fn supports_ft(&self) -> bool

IEEE 802.11-2016 4.5.4.8

Source

pub fn candidacy(&self) -> BssCandidacy

Returns a simplified BssCandidacy which implements PartialOrd.

Source

pub fn to_non_obfuscated_string(&self) -> String

Returns a string representation of the BssDescriptionExt. This representation is not suitable for protecting the privacy of an SSID and BSSID.

Source

pub fn is_open(&self) -> bool

Source

pub fn has_wep_configured(&self) -> bool

Source

pub fn has_wpa1_configured(&self) -> bool

Source

pub fn has_wpa2_personal_configured(&self) -> bool

Source

pub fn has_wpa3_personal_configured(&self) -> bool

Trait Implementations§

Source§

impl Deref for COMPATIBLE_OPEN_BSS

Source§

type Target = BssDescription

The resulting type after dereferencing.
Source§

fn deref(&self) -> &BssDescription

Dereferences the value.
Source§

impl LazyStatic for COMPATIBLE_OPEN_BSS

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
§

impl<T, D> Encode<Ambiguous1, D> for T
where D: ResourceDialect,

§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
§

impl<T, D> Encode<Ambiguous2, D> for T
where D: ResourceDialect,

§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where 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.

§

impl<T> IntoAny for T
where T: 'static + Send + Sync,

§

fn into_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Cast the given object into a dyn std::any::Any.
Source§

impl<T> OptionalField for T
where T: ?Sized,

Source§

const PRESENT: Presence<Self> = _

Source§

const ABSENT: Presence<Self> = _

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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 T
where U: TryFrom<T>,

Source§

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.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more