Expand description
Re-exported from reth_tasks.
Modules§
- metrics
- Task Executor Metrics
- pool
rayon - Additional helpers for executing tracing calls
- runtime
- Centralized management of async and parallel execution.
- shutdown
- Helper for shutdown signals
Structs§
- Panicked
Task Error - Error with the name of the task that panicked and an error downcasted to string, if possible.
- Rayon
Config rayon - Configuration for the rayon thread pools.
- Runtime
- A cheaply cloneable handle to the runtime resources.
- Runtime
Builder - Builder for constructing a
Runtime. - Runtime
Config - Configuration for building a
Runtime. - Task
Manager - Monitors critical tasks for panics and manages graceful shutdown.
- Tokio
Task Executor - An
TaskSpawnerthat uses [tokio::task::spawn] to execute tasks
Enums§
- Runtime
Build Error - Error returned when
RuntimeBuilder::buildfails. - Tokio
Config - Configuration for the tokio runtime.
Traits§
- Task
Spawner - A type that can spawn tasks.
- Task
Spawner Ext TaskSpawnerwith extended behaviour
Functions§
- spawn_
os_ thread - Spawns an OS thread with the current tokio runtime context propagated.
- spawn_
scoped_ os_ thread - Spawns a scoped OS thread with the current tokio runtime context propagated.
Type Aliases§
- Task
Executor - A
TaskExecutoris now an alias forRuntime.