pub struct LocallyInitiated(pub bool);
Expand description
LocallyInitiated is true when a disconnect (deauth/disassoc) is initiated from within the device. If the disconnect is initiated remotely (i.e. by the AP if device is a client, or by the client if device is an AP) due to a deauth or disassoc frame, then LocallyInitiated is false.
Tuple Fields§
§0: bool
Auto Trait Implementations§
impl Freeze for LocallyInitiated
impl RefUnwindSafe for LocallyInitiated
impl Send for LocallyInitiated
impl Sync for LocallyInitiated
impl Unpin for LocallyInitiated
impl UnwindSafe for LocallyInitiated
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