[][src]Trait sqs_lambda::event_emitter::EventEmitter

pub trait EventEmitter {
    type Event;
    type Error: Debug;
    fn emit_event<'life0, 'async_trait>(
        &'life0 mut self,
        completed_events: Vec<Self::Event>
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Associated Types

type Event

type Error: Debug

Loading content...

Required methods

fn emit_event<'life0, 'async_trait>(
    &'life0 mut self,
    completed_events: Vec<Self::Event>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<S, F> EventEmitter for S3EventEmitter<S, F> where
    S: S3 + Send + Sync + 'static,
    F: Fn(&[u8]) -> String + Send + Sync
[src]

type Event = Vec<u8>

type Error = Box<dyn Error>

Loading content...