Skip to main content

Module spi

Module spi 

Source
Expand description

Service-provider interfaces for custom executor implementations.

These low-level building blocks are intended for crates that implement executor services or execution strategies. Ordinary users should prefer TaskHandle, TrackedTask, and the executor/service traits.

Structs§

RunningTaskSlot
Runner-side slot for a task that has crossed into the running state.
TaskEndpointPair
One-shot pair of endpoints for a task submission.
TaskRunner
Runner that executes a callable task with standard task-handle semantics.
TaskSlot
Runner-side slot for one task submission.

Traits§

TaskResultHandle
Common interface for handles that expose a submitted task’s final result.
TrackedTaskHandle
Extension interface for handles that expose active task tracking.