Struct wlancfg_lib::client::types::TrackedBss
source · pub struct TrackedBss {
pub signal: Signal,
pub channel: Channel,
}
Expand description
BSS information tracked by the client state machine.
While connected to an AP, some important BSS configuration may change, such as the channel and
signal quality statistics. TrackedBss
provides fields for this configuration that are managed
by the client state machine.
Fields§
§signal: Signal
§channel: Channel
Implementations§
source§impl TrackedBss
impl TrackedBss
sourcepub fn snapshot(original: &BssDescription) -> Self
pub fn snapshot(original: &BssDescription) -> Self
Snapshots a BSS description.
A snapshot copies configuration from the given BSS description into a TrackedBss
.
Trait Implementations§
source§impl Clone for TrackedBss
impl Clone for TrackedBss
source§fn clone(&self) -> TrackedBss
fn clone(&self) -> TrackedBss
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TrackedBss
impl Debug for TrackedBss
source§impl PartialEq<BssDescription> for TrackedBss
impl PartialEq<BssDescription> for TrackedBss
source§fn eq(&self, bss: &BssDescription) -> bool
fn eq(&self, bss: &BssDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<TrackedBss> for BssDescription
impl PartialEq<TrackedBss> for BssDescription
source§fn eq(&self, tracked: &TrackedBss) -> bool
fn eq(&self, tracked: &TrackedBss) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for TrackedBss
impl PartialEq for TrackedBss
source§fn eq(&self, other: &TrackedBss) -> bool
fn eq(&self, other: &TrackedBss) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TrackedBss
impl Eq for TrackedBss
impl StructuralPartialEq for TrackedBss
Auto Trait Implementations§
impl Freeze for TrackedBss
impl RefUnwindSafe for TrackedBss
impl Send for TrackedBss
impl Sync for TrackedBss
impl Unpin for TrackedBss
impl UnwindSafe for TrackedBss
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