[−][src]Function futures::task::waker_ref
pub fn waker_ref<W>(wake: &Arc<W>) -> WakerRef where
W: ArcWake,
Creates a reference to a Waker
from a local wake
.
The resulting Waker
will call
wake.wake()
if awoken.
pub fn waker_ref<W>(wake: &Arc<W>) -> WakerRef where
W: ArcWake,
Creates a reference to a Waker
from a local wake
.
The resulting Waker
will call
wake.wake()
if awoken.