[−][src]Struct sqs_lambda::sqs_completion_handler::SqsCompletionHandlerActor
Methods
impl<CE> SqsCompletionHandlerActor<CE> where
CE: Send + Sync + 'static,
[src]
CE: Send + Sync + 'static,
pub fn new<CPE, CP, Payload, EE>(
actor_impl: SqsCompletionHandler<CPE, CP, CE, Payload, EE>
) -> Self where
CPE: 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,
[src]
actor_impl: SqsCompletionHandler<CPE, CP, CE, Payload, EE>
) -> Self where
CPE: 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,
pub async fn mark_complete<'_>(&'_ self, msg: SqsMessage, completed: CE)
[src]
pub async fn ack_all<'_>(&'_ self)
[src]
Trait Implementations
impl<CE: Clone> Clone for SqsCompletionHandlerActor<CE> where
CE: Send + Sync + 'static,
[src]
CE: Send + Sync + 'static,
fn clone(&self) -> SqsCompletionHandlerActor<CE>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<CE> CompletionHandler for SqsCompletionHandlerActor<CE> where
CE: Send + Sync + 'static,
[src]
CE: Send + Sync + 'static,
type Message = SqsMessage
type CompletedEvent = CE
fn mark_complete<'life0, 'async_trait>(
&'life0 self,
msg: Self::Message,
completed_event: Self::CompletedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
msg: Self::Message,
completed_event: Self::CompletedEvent
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<CE> !RefUnwindSafe for SqsCompletionHandlerActor<CE>
impl<CE> Send for SqsCompletionHandlerActor<CE>
impl<CE> Sync for SqsCompletionHandlerActor<CE>
impl<CE> Unpin for SqsCompletionHandlerActor<CE>
impl<CE> !UnwindSafe for SqsCompletionHandlerActor<CE>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,