Struct esp_wifi::wifi::event::NanReceive
source · pub struct NanReceive(pub wifi_event_nan_receive_t);
Expand description
See WifiEvent
.
Tuple Fields§
§0: wifi_event_nan_receive_t
Trait Implementations§
source§impl Clone for NanReceive
impl Clone for NanReceive
source§fn clone(&self) -> NanReceive
fn clone(&self) -> NanReceive
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 NanReceive
Auto Trait Implementations§
impl Freeze for NanReceive
impl RefUnwindSafe for NanReceive
impl Send for NanReceive
impl Sync for NanReceive
impl Unpin for NanReceive
impl UnwindSafe for NanReceive
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.