pub trait Processor<T: Task>{
// Required method
fn process(&self, task: T) -> Result<<T as Task>::Output>;
}Expand description
Processor of a specific task type
pub trait Processor<T: Task>{
// Required method
fn process(&self, task: T) -> Result<<T as Task>::Output>;
}Processor of a specific task type