Module async_executors::exec
source · Expand description
The executor implementations.
Structs
- AsyncGlobal
async_global
An executor that spawns tasks on async-global-executor. In contrast to the other executors, this one is not self contained, because async-global-executor does not provide an API that allows that, so the threadpool is global. - AsyncStd
async_std
An executor that spawns tasks on async-std. In contrast to the other executors, this one is not self contained, because async-std does not provide an API that allows that, so the threadpool is global. - Bindgen
bindgen
and WebAssemblyA type that implementsSpawn
,LocalSpawn
,SpawnHandle
andLocalSpawnHandle
. Spawns on the wasm-bingen-futures executor. The executor is global, eg. not self contained and zero sized. - GlommioCt
glommio
Single threaded glommio executor. This executor works on Linux 5.8+ only. - TokioCt
tokio_ct
An executor that uses atokio::runtime::Runtime
with thecurrent thread
and atokio::task::LocalSet
. Can spawn!Send
futures. - TokioTp
tokio_tp
An executor that usestokio::runtime::Runtime
.
Enums
- A few errors that can happen while using tokio executors.
- A few errors that can happen while using tokio executors.