#[non_exhaustive]pub struct ConnectedInfo {
pub ssid: Ssid,
pub bssid: [u8; 6],
pub channel: u8,
pub authmode: AuthenticationMethod,
pub aid: u16,
}Available on crate feature
wifi only.Expand description
Information about the access point the station connected to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ssid: SsidThe SSID of the access point.
bssid: [u8; 6]The BSSID of the access point.
channel: u8The channel of the access point.
authmode: AuthenticationMethodThe authentication method used.
aid: u16The Association ID (AID) assigned by the access point.
Trait Implementations§
Source§impl Clone for ConnectedInfo
impl Clone for ConnectedInfo
Source§fn clone(&self) -> ConnectedInfo
fn clone(&self) -> ConnectedInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectedInfo
impl Debug for ConnectedInfo
Source§impl Format for ConnectedInfo
impl Format for ConnectedInfo
Source§impl Hash for ConnectedInfo
impl Hash for ConnectedInfo
Source§impl PartialEq for ConnectedInfo
impl PartialEq for ConnectedInfo
impl Eq for ConnectedInfo
impl StructuralPartialEq for ConnectedInfo
Auto Trait Implementations§
impl Freeze for ConnectedInfo
impl RefUnwindSafe for ConnectedInfo
impl Send for ConnectedInfo
impl Sync for ConnectedInfo
impl Unpin for ConnectedInfo
impl UnsafeUnpin for ConnectedInfo
impl UnwindSafe for ConnectedInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)