pub trait RunContext<JobRequest, JobOutputInfo> {
    // Required methods
    fn run_requested(&self) -> Option<(Uuid, JobRequest)>;
    fn new_run_started(&mut self) -> Result<(), Error>;
    fn run_finished(
        &mut self,
        output_info: Option<JobOutputInfo>
    ) -> Result<(), Error>;
}

Required Methods§

source

fn run_requested(&self) -> Option<(Uuid, JobRequest)>

source

fn new_run_started(&mut self) -> Result<(), Error>

source

fn run_finished( &mut self, output_info: Option<JobOutputInfo> ) -> Result<(), Error>

Implementors§