Skip to main content

Module pool

Module pool 

Source
Available on crate features tasks and rayon only.
Expand description

Additional helpers for executing tracing calls

Structs§

BlockingTaskGuard
RPC Tracing call guard semaphore.
BlockingTaskHandle
Async handle for a blocking task running in a Rayon thread pool.
BlockingTaskPool
Used to execute blocking tasks on a rayon threadpool from within a tokio runtime.
TokioBlockingTaskError
An error returned when the Tokio channel is dropped while awaiting a result.
Worker
Per-thread state container for a WorkerPool.
WorkerPool
A rayon thread pool with per-thread Worker state.

Functions§

build_pool_with_panic_handler
Builds a rayon thread pool with a panic handler that prevents aborting the process.