Skip to main content

Crate qubit_execution_services

Crate qubit_execution_services 

Source
Expand description

§Qubit Execution Services

Aggregated execution services facade for blocking, CPU-bound, Tokio blocking, and async IO tasks.

Structs§

ExecutionServices
Unified facade exposing separate execution domains through one owner.
ExecutionServicesBuilder
Builder for ExecutionServices.
ExecutionServicesStopReport
Aggregate report returned by super::ExecutionServices::stop.
RayonExecutorService
Rayon-backed executor service for CPU-bound synchronous tasks.
RayonExecutorServiceBuilder
Builder for RayonExecutorService.
RayonTaskHandle
Tracked handle returned by crate::RayonExecutorService for accepted tasks.
StopReport
Summary returned by an immediate executor-service stop request.
TaskHandle
Lightweight result handle for a submitted callable task.
ThreadPool
OS thread pool implementing ExecutorService.
ThreadPoolBuilder
Builder for ThreadPool.
TokioBlockingTaskHandle
Tracked handle for tasks submitted to Tokio’s blocking task pool.
TokioExecutorService
Tokio-backed service for submitted blocking tasks.
TokioIoExecutorService
Tokio-backed executor service for async IO and Future-based tasks.
TokioTaskHandle
Async handle returned by Tokio-backed executor services.
TrackedTask
Result handle with active status tracking and pre-start cancellation.

Enums§

CancelResult
Result of an attempt to cancel a tracked task.
ExecutionServicesBuildError
Error returned when super::ExecutionServicesBuilder cannot build the facade.
ExecutorServiceBuilderError
Error returned when an executor service cannot be built.
ExecutorServiceLifecycle
Lifecycle state for a managed executor service.
RayonExecutorServiceBuildError
Error returned when crate::RayonExecutorServiceBuilder cannot build a service.
SubmissionError
Error returned when an executor service refuses to accept a task.
TaskStatus
Observable lifecycle status for a submitted task.
TryGet
Result of a non-blocking attempt to retrieve a task result.

Traits§

ExecutorService
Managed task service with submission and lifecycle control.
TaskResultHandle
Common interface for handles that expose a submitted task’s final result.
TrackedTaskHandle
Extension interface for handles that expose active task tracking.

Type Aliases§

BlockingExecutorService
Default managed service for synchronous tasks that may block an OS thread.
BlockingExecutorServiceBuilder
Builder alias for configuring BlockingExecutorService.
TaskResult
Result type used by managed task handles.
TokioBlockingExecutorService
Tokio-backed blocking executor service routed through spawn_blocking.