JobLoader

Trait JobLoader 

Source
pub trait JobLoader: Sync + Send {
    // Required method
    fn task<'life0, 'async_trait>(
        &'life0 self,
        task_id: Arc<dyn TaskId>,
        flow: Arc<Flow>,
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn TaskLoader>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn task<'life0, 'async_trait>( &'life0 self, task_id: Arc<dyn TaskId>, flow: Arc<Flow>, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn TaskLoader>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§