Struct esp_wifi::wifi::event::StaDisconnected
source · pub struct StaDisconnected(pub wifi_event_sta_disconnected_t);
Expand description
See WifiEvent
.
Tuple Fields§
§0: wifi_event_sta_disconnected_t
Trait Implementations§
source§impl Clone for StaDisconnected
impl Clone for StaDisconnected
source§fn clone(&self) -> StaDisconnected
fn clone(&self) -> StaDisconnected
Returns a copy 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 moreimpl Copy for StaDisconnected
Auto Trait Implementations§
impl Freeze for StaDisconnected
impl RefUnwindSafe for StaDisconnected
impl Send for StaDisconnected
impl Sync for StaDisconnected
impl Unpin for StaDisconnected
impl UnwindSafe for StaDisconnected
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, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> EventExt for Twhere
T: Event + 'static,
impl<T> EventExt for Twhere
T: Event + 'static,
source§fn take_handler() -> Box<Handler<Self>>
fn take_handler() -> Box<Handler<Self>>
Get the handler for this event, replacing it with the default handler.
source§fn replace_handler<F: FnMut(CriticalSection<'_>, &Self) + Sync + Send + 'static>(
f: F,
) -> Box<Handler<Self>>
fn replace_handler<F: FnMut(CriticalSection<'_>, &Self) + Sync + Send + 'static>( f: F, ) -> Box<Handler<Self>>
Set the handler for this event, returning the old handler.
source§fn update_handler<F: FnMut(CriticalSection<'_>, &Self) + Sync + Send + 'static>(
f: F,
)
fn update_handler<F: FnMut(CriticalSection<'_>, &Self) + Sync + Send + 'static>( f: F, )
Atomic combination of [
take_handler
] and [replace_handler
]. Use this
to add a new handler which runs after the previously registered
handlers.