Expand description
executor abstraction
this crate is compatible with Tokio and async-std, by assembling them under the Executor trait
Structs§
- Async
StdExecutor - Wrapper for the async-std executor
- Tokio
Executor - Wrapper for the Tokio executor
Enums§
- Delay
- a future producing a
()after some time - Executor
Kind - indicates which executor is used
- Interval
- a
Streamproducing a()at rgular time intervals - Join
Handle - future returned by Executor::spawn_blocking to await on the task’s result
Traits§
- Executor
- Wrapper trait abstracting the Tokio and async-std executors