Function futures::task::waker[][src]

pub fn waker<W>(wake: Arc<W>) -> Waker where
    W: 'static + ArcWake
Expand description

Creates a Waker from an Arc<impl ArcWake>.

The returned Waker will call ArcWake.wake() if awoken.