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

pub struct EventProcessorActor<M> where
    M: Send + Clone + Sync + 'static, 
{ /* fields omitted */ }

Implementations

impl<M> EventProcessorActor<M> where
    M: Send + Clone + Sync + 'static, 
[src]

pub fn new<C, EH, Input, Output, ER, CH>(
    actor_impl: EventProcessor<M, C, EH, Input, Output, ER, CH>
) -> (Self, JoinHandle<()>) where
    C: Consumer<M> + 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, Message = M> + Send + Sync + Clone + 'static,
    CH: CompletionHandler<Message = M, CompletedEvent = OutputEvent<Output, <EH as EventHandler>::Error>> + Send + Sync + Clone + 'static, 
[src]

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

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

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

Trait Implementations

impl<M> Clone for EventProcessorActor<M> where
    M: Send + Clone + Sync + 'static, 
[src]

impl<M> Debug for EventProcessorActor<M> where
    M: Send + Clone + Sync + 'static, 
[src]

impl<M> Drop for EventProcessorActor<M> where
    M: Send + Clone + Sync + 'static, 
[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<D> OwoColorize for D

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>, 

impl<T> WithSubscriber for T[src]