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
Global - Global Tokio executor that can be used to spawn tasks.
- Tokio
Local Task - Task wrapper for Tokio’s local
JoinHandle(non-Send futures). - Tokio
Task - Task wrapper for Tokio’s
JoinHandlethat implements theTasktrait.