Module core::task [−][src]
🔬 This is a nightly-only experimental API. (futures_api
#50547)
futures in libcore are unstable
Types and Traits for working with asynchronous tasks.
Structs
Context |
[ Experimental ] Information about the currently-running task. |
LocalWaker |
[ Experimental ] A |
SpawnErrorKind |
[ Experimental ] Provides the reason that an executor was unable to spawn. |
SpawnObjError |
[ Experimental ] The result of a failed spawn |
TaskObj |
[ Experimental ] A custom trait object for polling tasks, roughly akin to
|
Waker |
[ Experimental ] A |
Enums
Poll |
[ Experimental ] Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead. |
Traits
Executor |
[ Experimental ] A task executor. |
UnsafeTask |
[ Experimental ] A custom implementation of a task trait object for |
UnsafeWake |
[ Experimental ] An unsafe trait for implementing custom memory management for a |