Skip to main content

qubit_executor/
lib.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2025 - 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! # Qubit Executor
11//!
12//! Core executor abstractions, task handles, and basic executor implementations.
13//!
14
15pub mod executor;
16pub mod hook;
17pub mod service;
18pub mod task;
19
20pub use crate::service::ExecutorServiceLifecycle;
21pub use crate::task::{
22    CancelResult,
23    TaskExecutionError,
24    TaskResult,
25    TaskStatus,
26};
27pub use crate::task::{
28    TaskHandle,
29    TrackedTask,
30    TryGet,
31};