pub struct WorkflowRunPolicy { /* private fields */ }Expand description
Runtime policy for executing one workflow graph.
Implementations§
Source§impl WorkflowRunPolicy
impl WorkflowRunPolicy
Sourcepub const fn feedback_loops(feedback_loop: FeedbackLoopRunPolicy) -> Self
pub const fn feedback_loops(feedback_loop: FeedbackLoopRunPolicy) -> Self
Allow cycle-enabled workflow graphs to run as feedback loops.
Sourcepub const fn cycle_policy(&self) -> CycleRunPolicy
pub const fn cycle_policy(&self) -> CycleRunPolicy
Configured cycle behavior.
Sourcepub const fn with_watchdog(
self,
watchdog_policy: WorkflowWatchdogPolicy,
) -> Self
pub const fn with_watchdog( self, watchdog_policy: WorkflowWatchdogPolicy, ) -> Self
Return a copy of this policy with watchdog behavior attached.
Sourcepub const fn watchdog_policy(&self) -> WorkflowWatchdogPolicy
pub const fn watchdog_policy(&self) -> WorkflowWatchdogPolicy
Configured no-progress watchdog behavior.
Trait Implementations§
Source§impl Clone for WorkflowRunPolicy
impl Clone for WorkflowRunPolicy
Source§fn clone(&self) -> WorkflowRunPolicy
fn clone(&self) -> WorkflowRunPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkflowRunPolicy
impl Debug for WorkflowRunPolicy
Source§impl Default for WorkflowRunPolicy
impl Default for WorkflowRunPolicy
Source§impl PartialEq for WorkflowRunPolicy
impl PartialEq for WorkflowRunPolicy
Source§fn eq(&self, other: &WorkflowRunPolicy) -> bool
fn eq(&self, other: &WorkflowRunPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WorkflowRunPolicy
impl Eq for WorkflowRunPolicy
impl StructuralPartialEq for WorkflowRunPolicy
Auto Trait Implementations§
impl Freeze for WorkflowRunPolicy
impl RefUnwindSafe for WorkflowRunPolicy
impl Send for WorkflowRunPolicy
impl Sync for WorkflowRunPolicy
impl Unpin for WorkflowRunPolicy
impl UnsafeUnpin for WorkflowRunPolicy
impl UnwindSafe for WorkflowRunPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).