Trait robin::job::Job [] [src]

pub trait Job {
    fn name(&self) -> JobName;
fn perform(&self, args: &Args, con: &WorkerConnection) -> JobResult; }

The trait that defines what a particular job should does.

Required Methods

The name of the job. Required to put the job into Redis.

What the job actually does.

Implementors