Expand description
§Orb Tokio Runtime
This crate provides a Tokio-based implementation of the Orb async runtime traits. It allows users to leverage Tokio’s powerful async runtime with the unified Orb interface.
The main type provided is TokioRT, which implements the core runtime functionality.
See the main Orb documentation for more information.
§Usage
use orb_tokio::TokioRT;
let rt = TokioRT::new_multi_thread(4);Structs§
- TokioFD
- Associate type for TokioRT
- Tokio
Interval - Associate type for TokioRT
- Tokio
Join Handle - A wrapper around tokio’s JoinHandle that implements AsyncHandle
- Tokio
Thread Handle - A wrapper around tokio’s JoinHandle that implements ThreadHandle
Enums§
- TokioRT
- The main struct for tokio runtime IO, assign this type to AsyncIO trait when used.
Traits§
- Async
Exec - Trait for async runtime execution capabilities.
- Async
Handle - A handle for managing spawned async tasks.
- Thread
Handle - A handle for spawn_blocking()