Skip to main content

Crate qubit_tokio_executor

Crate qubit_tokio_executor 

Source
Expand description

§Qubit Tokio Executor

Tokio-backed executor and executor service implementations.

Modules§

service
Executor service compatibility exports for Tokio-backed users.

Structs§

StopReport
Summary returned by an immediate executor-service stop request.
TaskHandle
Lightweight result handle for a submitted callable task.
TokioBlockingTaskHandle
Tracked handle for tasks submitted to Tokio’s blocking task pool.
TokioExecutor
Executes callable tasks on 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.
ExecutorServiceLifecycle
Lifecycle state for a managed executor 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§

Executor
Executes fallible one-time tasks according to an implementation-defined strategy.
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§

TaskResult
Result type used by managed task handles.
TokioBlockingExecutorService
Tokio-backed blocking executor service routed through spawn_blocking.