Skip to main content

Module executor

Module executor 

Source
Expand description

executor abstraction

this crate is compatible with Tokio and async-std, by assembling them under the Executor trait

Structs§

AsyncStdExecutor
Wrapper for the async-std executor
TokioExecutor
Wrapper for the Tokio executor

Enums§

Delay
a future producing a () after some time
ExecutorKind
indicates which executor is used
Interval
a Stream producing a () at rgular time intervals
JoinHandle
future returned by Executor::spawn_blocking to await on the task’s result

Traits§

Executor
Wrapper trait abstracting the Tokio and async-std executors