RunnablePlugin

Trait RunnablePlugin 

Source
pub trait RunnablePlugin: Sync + Send {
    // Required method
    fn execute<'life0, 'async_trait>(
        &'life0 self,
        context: Arc<TaskContext>,
    ) -> Pin<Box<dyn Future<Output = Result<JobInstanceState>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn execute<'life0, 'async_trait>( &'life0 self, context: Arc<TaskContext>, ) -> Pin<Box<dyn Future<Output = Result<JobInstanceState>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§