pub struct ScheduleStep {
pub interval: Duration,
}Expand description
A step that schedules child execution after a delay.
Fields§
§interval: DurationInterval.
Trait Implementations§
Source§impl Default for ScheduleStep
impl Default for ScheduleStep
Source§fn default() -> ScheduleStep
fn default() -> ScheduleStep
Returns the “default value” for a type. Read more
Source§impl StepBody for ScheduleStep
impl StepBody for ScheduleStep
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 ScheduleStep
impl RefUnwindSafe for ScheduleStep
impl Send for ScheduleStep
impl Sync for ScheduleStep
impl Unpin for ScheduleStep
impl UnsafeUnpin for ScheduleStep
impl UnwindSafe for ScheduleStep
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