Trait Processor

Source
pub trait Processor<T: Task>
where Self: Send + Sync,
{ // Required method fn process(&self, task: T) -> Result<<T as Task>::Output>; }
Expand description

Processor of a specific task type

Required Methods§

Source

fn process(&self, task: T) -> Result<<T as Task>::Output>

Process the given task.

Implementors§