#[non_exhaustive]pub struct DisconnectedInfo {
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 DisconnectedInfo
impl Clone for DisconnectedInfo
Source§fn clone(&self) -> DisconnectedInfo
fn clone(&self) -> DisconnectedInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DisconnectedInfo
Source§impl Debug for DisconnectedInfo
impl Debug for DisconnectedInfo
impl Eq for DisconnectedInfo
Source§impl Format for DisconnectedInfo
impl Format for DisconnectedInfo
Source§impl Hash for DisconnectedInfo
impl Hash for DisconnectedInfo
Source§impl PartialEq for DisconnectedInfo
impl PartialEq for DisconnectedInfo
impl StructuralPartialEq for DisconnectedInfo
Auto Trait Implementations§
impl Freeze for DisconnectedInfo
impl RefUnwindSafe for DisconnectedInfo
impl Send for DisconnectedInfo
impl Sync for DisconnectedInfo
impl Unpin for DisconnectedInfo
impl UnsafeUnpin for DisconnectedInfo
impl UnwindSafe for DisconnectedInfo
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)