pub struct DelayStep {
pub duration: Duration,
}Expand description
A step that sleeps for a specified duration before proceeding.
Fields§
§duration: DurationDuration.
Trait Implementations§
Source§impl StepBody for DelayStep
impl StepBody for DelayStep
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for DelayStep
impl RefUnwindSafe for DelayStep
impl Send for DelayStep
impl Sync for DelayStep
impl Unpin for DelayStep
impl UnsafeUnpin for DelayStep
impl UnwindSafe for DelayStep
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