recoverable_thread_pool/thread_pool/
type.rs

1use crate::*;
2use recoverable_spawn::*;
3
4/// A job that can be executed by the thread pool.
5pub type ThreadPoolJob = Box<dyn RecoverableFunction>;
6
7/// Error type for failed job submissions.
8pub type SendErrorBox = SendError<ThreadPoolJob>;
9
10/// Result type for job submission operations.
11pub type SendResult = Result<(), SendErrorBox>;