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