pub fn waker_ref<W>(wake: &Arc<W>) -> WakerRef<'_>where
W: ArcWake + 'static,Expand description
Creates a reference to a [Waker] from a reference to Arc<impl ArcWake>.
The resulting [Waker] will call
ArcWake.wake() if awoken.
pub fn waker_ref<W>(wake: &Arc<W>) -> WakerRef<'_>where
W: ArcWake + 'static,Creates a reference to a [Waker] from a reference to Arc<impl ArcWake>.
The resulting [Waker] will call
ArcWake.wake() if awoken.