W3cubDocs

/Rust

Function std::future::poll_in_task_cx

pub fn poll_in_task_cx<F>(f: PinMut<F>) -> Poll<F::Output> where    F: Future, 
🔬 This is a nightly-only experimental API. (gen_future #50547)

Polls a future in the current thread-local task context.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/future/fn.poll_in_task_cx.html