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 u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬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.