#[non_exhaustive]pub struct AccessPointStationDisconnectedInfo {
pub mac: [u8; 6],
pub aid: u16,
pub is_mesh_child: bool,
pub reason: DisconnectReason,
}Available on crate feature
wifi only.Expand description
Information about a station disconnected from the access point.
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.mac: [u8; 6]The MAC address.
aid: u16The Association ID (AID) of the connected station.
is_mesh_child: boolIf this is a mesh child.
reason: DisconnectReasonThe disconnect reason.
Trait Implementations§
Source§impl Clone for AccessPointStationDisconnectedInfo
impl Clone for AccessPointStationDisconnectedInfo
Source§fn clone(&self) -> AccessPointStationDisconnectedInfo
fn clone(&self) -> AccessPointStationDisconnectedInfo
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 AccessPointStationDisconnectedInfo
impl Debug for AccessPointStationDisconnectedInfo
Source§impl Hash for AccessPointStationDisconnectedInfo
impl Hash for AccessPointStationDisconnectedInfo
Source§impl PartialEq for AccessPointStationDisconnectedInfo
impl PartialEq for AccessPointStationDisconnectedInfo
impl Copy for AccessPointStationDisconnectedInfo
impl Eq for AccessPointStationDisconnectedInfo
impl StructuralPartialEq for AccessPointStationDisconnectedInfo
Auto Trait Implementations§
impl Freeze for AccessPointStationDisconnectedInfo
impl RefUnwindSafe for AccessPointStationDisconnectedInfo
impl Send for AccessPointStationDisconnectedInfo
impl Sync for AccessPointStationDisconnectedInfo
impl Unpin for AccessPointStationDisconnectedInfo
impl UnwindSafe for AccessPointStationDisconnectedInfo
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)