Trait scheduler_service_lib::RunContext
source · 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>;
}