[−][src]Struct sqs_lambda::sqs_completion_handler::SqsCompletionHandlerActor
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]
CE: Send + Sync + Clone + 'static,
ProcErr: Debug + Send + Sync + 'static,
SqsT: Sqs + Clone + Send + Sync + 'static,
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]
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,
pub async fn mark_complete<'_>(
&'_ self,
msg: SqsMessage,
completed: OutputEvent<CE, ProcErr>
)
[src]
&'_ self,
msg: SqsMessage,
completed: OutputEvent<CE, ProcErr>
)
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]
CE: Send + Sync + Clone + 'static,
ProcErr: Debug + Send + Sync + 'static,
SqsT: Sqs + Clone + Send + Sync + 'static,
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
CE: Send + Sync + Clone + 'static,
ProcErr: Debug + Send + Sync + 'static,
SqsT: Sqs + Clone + Send + Sync + 'static,
type Message = SqsMessage
type CompletedEvent = OutputEvent<CE, ProcErr>
pub 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,
pub fn ack_message<'life0, 'async_trait>(
&'life0 self,
msg: Self::Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
msg: Self::Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn ack_all<'life0, 'async_trait>(
&'life0 self,
notify: Option<Sender<()>>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
notify: Option<Sender<()>>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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]
CE: Send + Sync + Clone + 'static,
ProcErr: Debug + Send + Sync + 'static,
SqsT: Sqs + Clone + Send + Sync + 'static,
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]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<D> OwoColorize for D
pub fn fg<C>(&'a self) -> FgColorDisplay<'a, C, Self> where
C: Color,
C: Color,
pub fn bg<C>(&'a self) -> BgColorDisplay<'a, C, Self> where
C: Color,
C: Color,
pub fn black(&'a self) -> FgColorDisplay<'a, Black, Self>
pub fn on_black(&'a self) -> BgColorDisplay<'a, Black, Self>
pub fn red(&'a self) -> FgColorDisplay<'a, Red, Self>
pub fn on_red(&'a self) -> BgColorDisplay<'a, Red, Self>
pub fn green(&'a self) -> FgColorDisplay<'a, Green, Self>
pub fn on_green(&'a self) -> BgColorDisplay<'a, Green, Self>
pub fn yellow(&'a self) -> FgColorDisplay<'a, Yellow, Self>
pub fn on_yellow(&'a self) -> BgColorDisplay<'a, Yellow, Self>
pub fn blue(&'a self) -> FgColorDisplay<'a, Blue, Self>
pub fn on_blue(&'a self) -> BgColorDisplay<'a, Blue, Self>
pub fn magenta(&'a self) -> FgColorDisplay<'a, Magenta, Self>
pub fn on_magenta(&'a self) -> BgColorDisplay<'a, Magenta, Self>
pub fn purple(&'a self) -> FgColorDisplay<'a, Magenta, Self>
pub fn on_purple(&'a self) -> BgColorDisplay<'a, Magenta, Self>
pub fn cyan(&'a self) -> FgColorDisplay<'a, Cyan, Self>
pub fn on_cyan(&'a self) -> BgColorDisplay<'a, Cyan, Self>
pub fn white(&'a self) -> FgColorDisplay<'a, White, Self>
pub fn on_white(&'a self) -> BgColorDisplay<'a, White, Self>
pub fn bright_black(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
pub fn on_bright_black(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
pub fn bright_red(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
pub fn on_bright_red(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
pub fn bright_green(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
pub fn on_bright_green(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
pub fn bright_yellow(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
pub fn on_bright_yellow(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
pub fn bright_blue(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
pub fn on_bright_blue(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
pub fn bright_magenta(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
pub fn on_bright_magenta(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
pub fn bright_purple(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
pub fn on_bright_purple(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
pub fn bright_cyan(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
pub fn on_bright_cyan(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
pub fn bright_white(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
pub fn on_bright_white(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
pub fn bold(&'a self) -> BoldDisplay<'a, Self>
pub fn dimmed(&'a self) -> DimDisplay<'a, Self>
pub fn italic(&'a self) -> ItalicDisplay<'a, Self>
pub fn underline(&'a self) -> UnderlineDisplay<'a, Self>
pub fn blink(&'a self) -> BlinkDisplay<'a, Self>
pub fn blink_fast(&'a self) -> BlinkFastDisplay<'a, Self>
pub fn reversed(&'a self) -> ReversedDisplay<'a, Self>
pub fn hidden(&'a self) -> HiddenDisplay<'a, Self>
pub fn strikethrough(&'a self) -> StrikeThroughDisplay<'a, Self>
pub fn color<Color>(
&'a self,
color: Color
) -> FgDynColorDisplay<'a, Color, Self> where
Color: DynColor,
&'a self,
color: Color
) -> FgDynColorDisplay<'a, Color, Self> where
Color: DynColor,
pub fn on_color<Color>(
&'a self,
color: Color
) -> BgDynColorDisplay<'a, Color, Self> where
Color: DynColor,
&'a self,
color: Color
) -> BgDynColorDisplay<'a, Color, Self> where
Color: DynColor,
pub fn truecolor(
&'a self,
r: u8,
g: u8,
b: u8
) -> FgDynColorDisplay<'a, Rgb, Self>
&'a self,
r: u8,
g: u8,
b: u8
) -> FgDynColorDisplay<'a, Rgb, Self>
pub fn on_truecolor(
&'a self,
r: u8,
g: u8,
b: u8
) -> BgDynColorDisplay<'a, Rgb, Self>
&'a self,
r: u8,
g: u8,
b: u8
) -> BgDynColorDisplay<'a, Rgb, Self>
pub fn style(&self, style: Style) -> Styled<&Self>
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,