Trait Handler
dbq
pub trait Handler { type Error: Error; fn handle(&self, context: JobContext) -> Result<(), Self::Error>; }
Implement to run jobs from a Queue in a WorkerPool
Queue
WorkerPool
type Error: Error
fn handle(&self, context: JobContext) -> Result<(), Self::Error>