[−][src]Struct sqs_lambda::sqs_completion_handler::SqsCompletionHandler
Methods
impl<CPE, CP, CE, Payload, EE, OA> SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA> where
CPE: Debug + Send + Sync + 'static,
CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
Payload: Send + Sync + 'static,
CE: Send + Sync + Clone + 'static,
EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
OA: Fn(SqsCompletionHandlerActor<CE>, Result<String, String>) + Send + Sync + 'static, [src]
CPE: Debug + Send + Sync + 'static,
CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
Payload: Send + Sync + 'static,
CE: Send + Sync + Clone + 'static,
EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
OA: Fn(SqsCompletionHandlerActor<CE>, Result<String, String>) + Send + Sync + 'static,
pub fn new(
sqs_client: SqsClient,
queue_url: String,
completion_serializer: CP,
event_emitter: EE,
completion_policy: CompletionPolicy,
on_ack: OA
) -> Self[src]
sqs_client: SqsClient,
queue_url: String,
completion_serializer: CP,
event_emitter: EE,
completion_policy: CompletionPolicy,
on_ack: OA
) -> Self
impl<CPE, CP, CE, Payload, EE, OA> SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA> where
CPE: Debug + Send + Sync + 'static,
CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
Payload: Send + Sync + 'static,
CE: Send + Sync + Clone + 'static,
EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
OA: Fn(SqsCompletionHandlerActor<CE>, Result<String, String>) + Send + Sync + 'static, [src]
CPE: Debug + Send + Sync + 'static,
CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
Payload: Send + Sync + 'static,
CE: Send + Sync + Clone + 'static,
EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
OA: Fn(SqsCompletionHandlerActor<CE>, Result<String, String>) + Send + Sync + 'static,
pub async fn mark_complete<'_>(
&'_ mut self,
sqs_message: SqsMessage,
completed: CE
)[src]
&'_ mut self,
sqs_message: SqsMessage,
completed: CE
)
pub async fn ack_all<'_>(&'_ mut self, notify: Option<Sender<()>>)[src]
impl<CPE, CP, CE, Payload, EE, OA> SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA> where
CPE: Debug + Send + Sync + 'static,
CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
Payload: Send + Sync + 'static,
CE: Send + Sync + Clone + 'static,
EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
OA: Fn(SqsCompletionHandlerActor<CE>, Result<String, String>) + Send + Sync + 'static, [src]
CPE: Debug + Send + Sync + 'static,
CP: CompletionEventSerializer<CompletedEvent = CE, Output = Payload, Error = CPE> + Send + Sync + 'static,
Payload: Send + Sync + 'static,
CE: Send + Sync + Clone + 'static,
EE: EventEmitter<Event = Payload> + Send + Sync + 'static,
OA: Fn(SqsCompletionHandlerActor<CE>, Result<String, String>) + Send + Sync + 'static,
pub async fn route_message<'_>(
&'_ mut self,
msg: SqsCompletionHandlerMessage<CE>
)[src]
&'_ mut self,
msg: SqsCompletionHandlerMessage<CE>
)
Auto Trait Implementations
impl<CPE, CP, CE, Payload, EE, OA> !RefUnwindSafe for SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA>
impl<CPE, CP, CE, Payload, EE, OA> Send for SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA>
impl<CPE, CP, CE, Payload, EE, OA> Sync for SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA>
impl<CPE, CP, CE, Payload, EE, OA> Unpin for SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA> where
CE: Unpin,
CP: Unpin,
EE: Unpin,
OA: Unpin,
CE: Unpin,
CP: Unpin,
EE: Unpin,
OA: Unpin,
impl<CPE, CP, CE, Payload, EE, OA> !UnwindSafe for SqsCompletionHandler<CPE, CP, CE, Payload, EE, OA>
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, 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>,