recoverable-thread-pool 2.4.19

A thread pool that supports automatic recovery from panics, allowing threads to restart after a panic. Useful for resilient and fault-tolerant concurrency in network and web programming.
Documentation
1
2
3
4
5
6
7
8
9
10
/// A worker thread in the thread pool.
///
/// Each worker is responsible for executing jobs
/// from the shared job queue.
#[allow(dead_code)]
#[derive(Debug, Default)]
pub struct Worker {
    /// The unique identifier for this worker.
    pub(super) id: usize,
}