[][src]Crate futures_executor

Built-in executors and related tools.

All items of this library are only available when the std feature of this library is activated, and it is activated by default.

Structs

BlockingStream

An iterator which blocks on values from a stream until they become available.

Enter

Represents an executor context.

EnterError

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

LocalPool

A single-threaded task pool for polling futures to completion.

LocalSpawner

A handle to a LocalPool that implements Spawn.

ThreadPoolthread-pool

A general-purpose thread pool for scheduling tasks that poll futures to completion.

ThreadPoolBuilderthread-pool

Thread pool configuration object.

Functions

block_on

Run a future to completion on the current thread.

block_on_stream

Turn a stream into a blocking iterator.

enter

Marks the current thread as being within the dynamic extent of an executor.