Module std::future [−][src]
🔬 This is a nightly-only experimental API. (futures_api
#50547)
futures in libcore are unstable
Asynchronous values.
Structs
FutureObj |
[ Experimental ] A custom trait object for polling futures, roughly akin to
|
LocalFutureObj |
[ Experimental ] A custom trait object for polling futures, roughly akin to
|
Traits
Future |
[ Experimental ] A future represents an asychronous computation. |
UnsafeFutureObj |
[ Experimental ] A custom implementation of a future trait object for |
Functions
from_generator |
[ Experimental ] Wrap a future in a generator. |
get_task_cx |
[ Experimental ] Retrieves the thread-local task context used by async/await futures. |
poll_in_task_cx |
[ Experimental ] Polls a future in the current thread-local task context. |
set_task_cx |
[ Experimental ] Sets the thread-local task context used by async/await futures. |