Trait UnitProcess

Source
pub trait UnitProcess: Send + Sync {
    // Required methods
    fn get_name(&self) -> &str;
    fn process<'life0, 'async_trait>(
        &'life0 self,
        input: ModuleParam,
    ) -> Pin<Box<dyn Future<Output = Result<ModuleParam, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_name(&self) -> &str

Source

fn process<'life0, 'async_trait>( &'life0 self, input: ModuleParam, ) -> Pin<Box<dyn Future<Output = Result<ModuleParam, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§