Crate executor_trait

source
Expand description

A collection of traits to define a common interface across executors

Structs§

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

Traits§

  • A common interface for spawning blocking tasks on top of an executor
  • A common interface for spawning futures on top of an executor
  • A common interface for spawning futures and blocking tasks on top of an executor
  • A common interface to wait for a Task completion, let it run n the background or cancel it.