Consumer

Trait Consumer 

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

Required Methods§

Source

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

Implementors§

Source§

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