Processor

Trait Processor 

Source
pub trait Processor<T> {
    // Required method
    fn process<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        job: &'life1 Job<T>,
    ) -> Pin<Box<dyn Future<Output = Result<(), JobError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn process<'life0, 'life1, 'async_trait>( &'life0 mut self, job: &'life1 Job<T>, ) -> Pin<Box<dyn Future<Output = Result<(), JobError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§