Available on crate feature
tasks only.Expand description
Re-exported from tasks.
Modules§
- metrics
- Task Executor Metrics
- pool
- Additional helpers for executing tracing calls
- shutdown
- Helper for shutdown signals
Structs§
- NoCurrent
Task Executor Error - Error returned by
try_currentwhen no task executor has been configured. - Panicked
Task Error - Error with the name of the task that panicked and an error downcasted to string, if possible.
- Task
Executor - A type that can spawn new tokio tasks
- Task
Manager - Many reth components require to spawn tasks for long-running jobs. For example
discoveryspawns tasks to handle egress and ingress of udp traffic ornetworkthat spawns session tasks that handle the traffic to and from a peer. - Tokio
Task Executor - An
TaskSpawnerthat uses [tokio::task::spawn] to execute tasks
Traits§
- Task
Spawner - A type that can spawn tasks.
- Task
Spawner Ext TaskSpawnerwith extended behaviour