[][src]Struct sqs_lambda::event_processor::EventProcessorActor

pub struct EventProcessorActor { /* fields omitted */ }

Methods

impl EventProcessorActor[src]

pub fn new<C, EH, Input, Output, ER, CH>(
    actor_impl: EventProcessor<C, EH, Input, Output, ER, CH>
) -> Self where
    C: Consumer + Clone + Send + Sync + 'static,
    EH: EventHandler<InputEvent = Input, OutputEvent = Output> + Send + Sync + Clone + 'static,
    Input: Send + Clone + 'static,
    Output: Send + Sync + Clone + 'static,
    ER: PayloadRetriever<Input> + Send + Sync + Clone + 'static,
    CH: CompletionHandler<Message = SqsMessage, CompletedEvent = OutputEvent<Output, <EH as EventHandler>::Error>> + Send + Sync + Clone + 'static, 
[src]

pub async fn process_event<'_>(&'_ self, event: SqsMessage)[src]

pub async fn start_processing<'_>(&'_ self)[src]

pub async fn stop_processing<'_>(&'_ self)[src]

Trait Implementations

impl Clone for EventProcessorActor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,