Trait sidekiq::MiddleWare
[−]
[src]
pub trait MiddleWare: Send { fn handle(&mut self,
job: &mut Job,
redis: RedisPool,
next: NextFunc)
-> MiddleWareResult; fn cloned(&mut self) -> Box<MiddleWare>; }
Required Methods
fn handle(&mut self,
job: &mut Job,
redis: RedisPool,
next: NextFunc)
-> MiddleWareResult
job: &mut Job,
redis: RedisPool,
next: NextFunc)
-> MiddleWareResult