InputPlugin

Trait InputPlugin 

Source
pub trait InputPlugin {
    // Required methods
    fn id(&self) -> &str;
    fn handle_input_data<'life0, 'async_trait>(
        &'life0 self,
        input_data: InputData,
    ) -> Pin<Box<dyn Future<Output = Result<InputData, (InputData, Error)>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn id(&self) -> &str

Source

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

Implementors§