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.
usecrate::*;/// A job that can be executed by the thread pool.
pubtypeThreadPoolJob=Box<dyn RecoverableFunction>;/// Error type for failed job submissions.
pubtypeSendErrorBox=SendError<ThreadPoolJob>;/// Result type for job submission operations.
pubtypeSendResult=Result<(), SendErrorBox>;