[−][src]Function std::future::set_task_waker  
pub fn set_task_waker<F, R>(waker: &Waker, f: F) -> R where
    F: FnOnce() -> R, Sets the thread-local task context used by async/await futures.
pub fn set_task_waker<F, R>(waker: &Waker, f: F) -> R where
    F: FnOnce() -> R, Sets the thread-local task context used by async/await futures.