[][src]Crate futures_executor

Built-in executors and related tools.

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.

LocalSpawn

A handle to a LocalPool that implements Spawn.

ThreadPool

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

ThreadPoolBuilder

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.