[][src]Trait dbq::Handler

pub trait Handler {
    type Error: Error;
    fn handle(&self, context: JobContext) -> Result<(), Self::Error>;
}

Implement to run jobs from a Queue in a WorkerPool

Associated Types

type Error: Error

Loading content...

Required methods

fn handle(&self, context: JobContext) -> Result<(), Self::Error>

Loading content...

Implementors

Loading content...