[][src]Trait sqs_lambda::consumer::Consumer

pub trait Consumer<M> where
    M: Send + Clone + Sync + 'static, 
{ fn get_next_event<'life0, 'async_trait>(
        &'life0 self,
        event_processor: EventProcessorActor<M>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn get_next_event<'life0, 'async_trait>(
    &'life0 self,
    event_processor: EventProcessorActor<M>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<Err, CE, EventSerializer> Consumer<Event> for FsNotifyConsumerHandlerActor<Err, CE, EventSerializer> where
    Err: Debug + Clone + Send + Sync + 'static,
    CE: Send + Sync + Clone + 'static,
    EventSerializer: CompletionEventSerializer<CompletedEvent = CE, Output = Vec<u8>, Error = Error<Err>> + Send + Sync + Clone + 'static, 
[src]

impl<S, CH> Consumer<Message> for SqsConsumerActor<S, CH> where
    S: Sqs + Send + Sync + 'static,
    CH: CompletionHandler + Clone + Send + Sync + 'static, 
[src]

Loading content...