[][src]Trait sqs_lambda::event_handler::EventHandler

pub trait EventHandler {
    type InputEvent;
    type OutputEvent;
    type Error: Debug;
    fn handle_event<'life0, 'async_trait>(
        &'life0 mut self,
        input: Self::InputEvent
    ) -> Pin<Box<dyn Future<Output = Result<Self::OutputEvent, Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

Loading content...