Crate tunny Copy item path Source CallbackWorker CallbackWorker is a simple worker that executes the job directly. ClosureWorker ClosureWorker allows custom logic via a user-supplied Fn for processing jobs. Pool Pool manages a pool of worker threads,
job queueing and submission, resizing, and shutdown. WorkRequest WorkRequest contains everything needed for a worker to process a job,
including channels for sending jobs, async jobs, receiving results, and interruption. TunnyError TunnyError defines the custom error types for the thread pool Worker Trait definition for a pool worker.
Implementors must be Send and ’static lifetime. Handler Handler type is a boxed closure representing a unit of work for the pool.
Returns a Result, and both error and closure must be Send. Result Standard result type for the thread pool, using TunnyError