[][src]Crate executor_trait

A collection of traits to define a common interface across executors

Structs

LocalExecutorError

An error to notify that the current executor doesn't support spawning local tasks. Holds the task that we tried to spawn.

Traits

BlockingExecutor

A common interface for spawning blocking tasks on top of an executor

Executor

A common interface for spawning futures on top of an executor

FullExecutor

A common interface for spawning futures and blocking tasks on top of an executor

Task

A common interface to wait for a Task completion, let it run n the background or cancel it.