Trait Job

Source
pub trait Job {
    // Required method
    fn run(&self) -> Result<JobExecution, BatchError>;
}
Expand description

Represents a job that can be executed.

Required Methods§

Source

fn run(&self) -> Result<JobExecution, BatchError>

Runs the job and returns the result of the job execution.

Implementors§

Source§

impl<'a> Job for JobInstance<'a>