Function tokio::runtime::task::waker::waker_ref

source ยท
pub(super) fn waker_ref<S>(header: &NonNull<Header>) -> WakerRef<'_, S>
where S: Schedule,
Expand description

Returns a WakerRef which avoids having to preemptively increase the refcount if there is no need to do so.