pub struct DelayForStep<S> { /* private fields */ }Expand description
Step that delays execution by a specified duration
Trait Implementations§
Source§impl<S: Clone> Clone for DelayForStep<S>
impl<S: Clone> Clone for DelayForStep<S>
Source§fn clone(&self) -> DelayForStep<S>
fn clone(&self) -> DelayForStep<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for DelayForStep<S>
impl<S: Debug> Debug for DelayForStep<S>
Source§impl<Input, B, S, Err> Step<Input, B> for DelayForStep<S>where
B::IdType: GenerateId + Send + 'static,
B::Compact: Send + 'static,
B: Sink<Task<B::Compact, B::Context, B::IdType>, Error = Err> + Unpin + Send + Sync + Clone + 'static + BackendExt,
Err: Error + Send + Sync + 'static,
S: Clone + Send + 'static + Step<Input, B>,
S::Response: Send + 'static,
B::Codec: Codec<Duration, Compact = B::Compact> + Codec<Input, Compact = B::Compact> + 'static,
<B::Codec as Codec<Duration>>::Error: Into<BoxDynError>,
B::Context: Send + 'static + MetadataExt<WorkflowContext>,
Input: Send + 'static,
<B::Codec as Codec<Input>>::Error: Into<BoxDynError>,
impl<Input, B, S, Err> Step<Input, B> for DelayForStep<S>where
B::IdType: GenerateId + Send + 'static,
B::Compact: Send + 'static,
B: Sink<Task<B::Compact, B::Context, B::IdType>, Error = Err> + Unpin + Send + Sync + Clone + 'static + BackendExt,
Err: Error + Send + Sync + 'static,
S: Clone + Send + 'static + Step<Input, B>,
S::Response: Send + 'static,
B::Codec: Codec<Duration, Compact = B::Compact> + Codec<Input, Compact = B::Compact> + 'static,
<B::Codec as Codec<Duration>>::Error: Into<BoxDynError>,
B::Context: Send + 'static + MetadataExt<WorkflowContext>,
Input: Send + 'static,
<B::Codec as Codec<Input>>::Error: Into<BoxDynError>,
Auto Trait Implementations§
impl<S> Freeze for DelayForStep<S>where
S: Freeze,
impl<S> RefUnwindSafe for DelayForStep<S>where
S: RefUnwindSafe,
impl<S> Send for DelayForStep<S>where
S: Send,
impl<S> Sync for DelayForStep<S>where
S: Sync,
impl<S> Unpin for DelayForStep<S>where
S: Unpin,
impl<S> UnwindSafe for DelayForStep<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more