qubit-rayon-executor 0.1.0

Rayon-backed CPU-bound executor service for Qubit Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026.
 *    Haixing Hu, Qubit Co. Ltd.
 *
 *    All rights reserved.
 *
 ******************************************************************************/
use std::sync::Arc;

/// Shared cancellation callback stored for pending Rayon tasks.
pub(crate) type PendingCancel = Arc<dyn Fn() -> bool + Send + Sync + 'static>;