Expand description
Re-exports§
pub use pool::Worker;rayonpub use pool::WorkerPool;rayonpub use for_each_ordered::ForEachOrdered;rayonpub use lazy::LazyHandle;pub use runtime::RayonConfig;rayonpub use runtime::Runtime;pub use runtime::RuntimeBuildError;pub use runtime::RuntimeBuilder;pub use runtime::RuntimeConfig;pub use runtime::TokioConfig;
Modules§
- for_
each_ ordered rayon - Lock-free ordered parallel iterator extension trait.
- lazy
- A lazily-resolved handle to a value computed on a background thread.
- 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
- utils
- Task utility functions.
Macros§
- once
- Runs the given closure exactly once per call site.
Structs§
- Panicked
Task Error - Error with the name of the task that panicked and an error downcasted to string, if possible.
- Task
Manager - Monitors critical tasks for panics and manages graceful shutdown.
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.