Crate futures_executor [] [src]

Built-in executors and related tools.

Structs

Enter

Represents an executor context.

EnterError

An error returned by enter if an execution scope has already been entered.

LocalExecutor

A handle to a LocalPool that implements Executor.

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 JoinHandle to the spawned task.

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 JoinHandle to the spawned task.