Trait IComponentProcess

Source
pub trait IComponentProcess<TConfig, TMsg> {
    // Required method
    fn process<'life0, 'async_trait>(
        &'life0 self,
        config: TConfig,
        in_out: CmpInOut<TMsg>,
    ) -> Pin<Box<dyn Future<Output = Result<(), ComponentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn process<'life0, 'async_trait>( &'life0 self, config: TConfig, in_out: CmpInOut<TMsg>, ) -> Pin<Box<dyn Future<Output = Result<(), ComponentError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§