Crate futures_executor [−] [src]
Built-in executors and related tools.
Structs
Enter |
Represents an executor context. |
EnterError |
An error returned by |
LocalExecutor | |
LocalPool |
A single-threaded task pool. |
Spawn |
A future representing the completion of task spawning. |
SpawnWithHandle |
A future representing the completion of task spawning, yielding a
|
ThreadPool |
A general-purpose thread pool for scheduling asynchronous tasks. |
ThreadPoolBuilder |
Thread pool configuration object. |
Functions
block_on |
Run a future to completion on the current thread. |
enter |
Marks the current thread as being within the dynamic extent of an executor. |
spawn |
Spawn a task onto the default executor. |
spawn_with_handle |
Spawn a task onto the default executor, yielding a
|