[][src]Struct sqs_lambda::sqs_completion_handler::SqsCompletionHandlerActor

pub struct SqsCompletionHandlerActor<CE, ProcErr, SqsT> where
    CE: Send + Sync + Clone + 'static,
    ProcErr: Debug + Send + Sync + 'static,
    SqsT: Sqs + Clone + Send + Sync + 'static, 
{ /* fields omitted */ }

Implementations

impl<CE, ProcErr, SqsT> SqsCompletionHandlerActor<CE, ProcErr, SqsT> where
    CE: Send + Sync + Clone + 'static,
    ProcErr: Debug + Send + Sync + 'static,
    SqsT: Sqs + Clone + Send + Sync + 'static, 
[src]

pub fn new<CPE, CP, Payload, EE, OA, CacheT>(
    actor_impl: SqsCompletionHandler<SqsT, CPE, CP, CE, Payload, EE, OA, CacheT, ProcErr>
) -> (Self, JoinHandle<()>) where
    SqsT: Sqs + Clone + Send + Sync + 'static,
    CPE: Debug + Send + Sync + 'static,
    CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
    Payload: Send + Sync + 'static,
    EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
    OA: Fn(SqsCompletionHandlerActor<CE, ProcErr, SqsT>, Result<String, String>) + Send + Sync + 'static,
    CacheT: Cache + Send + Sync + Clone + 'static, 
[src]

pub async fn mark_complete<'_>(
    &'_ self,
    msg: SqsMessage,
    completed: OutputEvent<CE, ProcErr>
)
[src]

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

Trait Implementations

impl<CE, ProcErr, SqsT> Clone for SqsCompletionHandlerActor<CE, ProcErr, SqsT> where
    CE: Send + Sync + Clone + 'static,
    ProcErr: Debug + Send + Sync + 'static,
    SqsT: Sqs + Clone + Send + Sync + 'static, 
[src]

impl<CE, ProcErr, SqsT> CompletionHandler for SqsCompletionHandlerActor<CE, ProcErr, SqsT> where
    CE: Send + Sync + Clone + 'static,
    ProcErr: Debug + Send + Sync + 'static,
    SqsT: Sqs + Clone + Send + Sync + 'static, 
[src]

type Message = SqsMessage

type CompletedEvent = OutputEvent<CE, ProcErr>

impl<CE, ProcErr, SqsT> Drop for SqsCompletionHandlerActor<CE, ProcErr, SqsT> where
    CE: Send + Sync + Clone + 'static,
    ProcErr: Debug + Send + Sync + 'static,
    SqsT: Sqs + Clone + Send + Sync + 'static, 
[src]

Auto Trait Implementations

impl<CE, ProcErr, SqsT> !RefUnwindSafe for SqsCompletionHandlerActor<CE, ProcErr, SqsT>[src]

impl<CE, ProcErr, SqsT> Send for SqsCompletionHandlerActor<CE, ProcErr, SqsT>[src]

impl<CE, ProcErr, SqsT> Sync for SqsCompletionHandlerActor<CE, ProcErr, SqsT>[src]

impl<CE, ProcErr, SqsT> Unpin for SqsCompletionHandlerActor<CE, ProcErr, SqsT>[src]

impl<CE, ProcErr, SqsT> !UnwindSafe for SqsCompletionHandlerActor<CE, ProcErr, SqsT>[src]

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]