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