Module anterofit::executor[][src]

Types which can take a boxed closure and execute it, preferably in the background.

Modules

threaded

Executors using background threads

Structs

Receiver

The receiver half of an MPMC queue of executor jobs.

RecvIntoIter

Blocking owned iterator type.

RecvIter

Blocking shared iterator type.

Traits

ExecBox

A wrapper for FnOnce() + Send + 'static which can be invoked from a Box.

Executor

A trait describing a type which can execute tasks (in the background or otherwise).

Type Definitions

DefaultExecutor

The default executor which should be suitable for most use-cases.