Skip to main content

Module service

Module service 

Source
Expand description

Managed task execution services.

This module contains task-oriented services that assign stable task IDs and track execution status while delegating actual concurrency to qubit-executor and qubit-thread-pool.

Structs§

StopReport
Summary returned by an immediate executor-service stop request.
TaskExecutionService
Managed task execution service built on ThreadPool.
TaskExecutionServiceBuilder
Builder for TaskExecutionService, used to configure the backing super::ThreadPool before the service is created.
TaskExecutionStats
Count snapshot for a TaskExecutionService.
ThreadPool
OS thread pool implementing ExecutorService.
ThreadPoolBuilder
Builder for ThreadPool.
ThreadPoolStats
Point-in-time counters reported by crate::ThreadPool.

Enums§

ExecutorServiceBuilderError
Error returned when an executor service cannot be built.
SubmissionError
Error returned when an executor service refuses to accept a task.
TaskExecutionServiceError
Error returned when TaskExecutionService cannot accept a task.
TaskStatus
Status of a task managed by TaskExecutionService.

Type Aliases§

TaskId
Identifier type used by TaskExecutionService.