Structs§
- Chunk
- Format
Bytes - Format
Duration - IdFactory
- A helper for constructing id types like [
FunctionId
][crate::FunctionId]. - IdFactory
With Reuse - An
IdFactory
, but extended with a free list to allow for id reuse. - Into
Chunks - Once
Concurrently Map - Safe
Once Concurrently Map - Shared
Error - A error struct that is backed by an Arc to allow cloning errors
- Wrap
Future - A future that wraps another future and applies a function on every poll call.
Enums§
- Static
OrArc - Smart pointer that stores data either in an Arc or as a static reference.
Functions§
- good_
chunk_ size - Calculates a good chunk size for parallel processing based on the number of available threads. This is used to ensure that the workload is evenly distributed across the threads.
- into_
chunks - Similar to slice::chunks but for owned data. Chunks are Send and Sync to allow to use it for parallelism.