Expand description
Abstractions to deal with different async runtimes.
Structs§
- Tokio
Handle tokio-runtime
- A handle to the Tokio runtime
- Tokio
Runtime Provider tokio-runtime
- The Tokio Runtime for async execution
- Tokio
Time tokio-runtime
- New type which is implemented using tokio::time::{Delay, Timeout}
Traits§
- Executor
- Generic executor.
- Quic
Socket Binder dns-over-quic
ordns-over-h3
- Create a UDP socket for QUIC usage. This trait is designed for customization.
- Runtime
Provider - RuntimeProvider defines which async runtime that handles IO and timers.
- Spawn
- A type defines the Handle which can spawn future.
- Time
- Generic Time for Delay and Timeout.
Functions§
- spawn_
bg tokio-runtime
- Spawn a background task, if it was present