Available on crate feature
tokio
only.Expand description
Integration with the Tokio async runtime.
This module provides implementations of the Executor
and LocalExecutor
traits
for the Tokio runtime, along with task wrappers that provide panic safety.
Structs§
- Join
Handle - An owned permission to join on a task (await its termination).
- Local
Set - A set of tasks which are executed on the same thread.
- Runtime
- The Tokio runtime.
- Tokio
Executor - The default Tokio-based executor implementation.
- Tokio
Local Task - Task wrapper for Tokio’s local
JoinHandle
(non-Send futures). - Tokio
Task - Task wrapper for Tokio’s
JoinHandle
that implements theTask
trait.