Expand description
§Qubit Thread Pool
Dynamic and fixed-size thread pool executor services.
Re-exports§
pub use dynamic::ThreadPool;pub use dynamic::ThreadPoolBuilder;pub use fixed::FixedThreadPool;pub use fixed::FixedThreadPoolBuilder;
Modules§
Structs§
- PoolJob
- Type-erased pool job with separate detached and cancellable forms.
- Stop
Report - Summary returned by an immediate executor-service stop request.
- Task
Handle - Lightweight result handle for a submitted callable task.
- Thread
Pool Hooks - Worker and task lifecycle hooks shared by thread-pool implementations.
- Thread
Pool Stats - Point-in-time counters reported by
crate::ThreadPool. - Tracked
Task - Result handle with active status tracking and pre-start cancellation.
Enums§
- Cancel
Result - Result of an attempt to cancel a tracked task.
- Executor
Service Builder Error - Error returned when an executor service cannot be built.
- Executor
Service Lifecycle - Lifecycle state for a managed executor service.
- Submission
Error - Error returned when an executor service refuses to accept a task.
- Task
Execution Error - Error observed when retrieving the result of an accepted task.
- Task
Status - Observable lifecycle status for a submitted task.
- TryGet
- Result of a non-blocking attempt to retrieve a task result.
Traits§
- Executor
Service - Managed task service with submission and lifecycle control.
- Task
Result Handle - Common interface for handles that expose a submitted task’s final result.
- Tracked
Task Handle - Extension interface for handles that expose active task tracking.
Type Aliases§
- Task
Result - Result type used by managed task handles.