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

pub trait Consumer<M> where
    M: Send + Clone + Sync + 'static, 
{ #[must_use] pub 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

#[must_use]pub 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, 
[src]

Loading content...

Implementors

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

Loading content...