[−][src]Function futures_util::task::waker
pub fn waker<W>(wake: Arc<W>) -> Waker where
W: ArcWake,
Creates a Waker
from an Arc<impl ArcWake>
.
The returned Waker
will call
ArcWake.wake()
if awoken.
pub fn waker<W>(wake: Arc<W>) -> Waker where
W: ArcWake,
Creates a Waker
from an Arc<impl ArcWake>
.
The returned Waker
will call
ArcWake.wake()
if awoken.