pub struct WorkflowDeadlockDiagnostic { /* private fields */ }Expand description
Diagnostic state reported when the workflow watchdog detects no progress.
Implementations§
Source§impl WorkflowDeadlockDiagnostic
impl WorkflowDeadlockDiagnostic
Sourcepub const fn workflow_id(&self) -> &WorkflowId
pub const fn workflow_id(&self) -> &WorkflowId
Workflow that stopped making progress.
Sourcepub const fn scheduled_node_count(&self) -> usize
pub const fn scheduled_node_count(&self) -> usize
Nodes scheduled for this run.
Sourcepub const fn pending_node_count(&self) -> usize
pub const fn pending_node_count(&self) -> usize
Nodes still pending when the watchdog fired.
Sourcepub const fn completed_node_count(&self) -> usize
pub const fn completed_node_count(&self) -> usize
Nodes completed before the watchdog fired.
Sourcepub const fn failed_node_count(&self) -> usize
pub const fn failed_node_count(&self) -> usize
Nodes failed before the watchdog fired.
Sourcepub const fn cancelled_node_count(&self) -> usize
pub const fn cancelled_node_count(&self) -> usize
Nodes cancelled before the watchdog fired.
Sourcepub const fn bounded_edge_count(&self) -> usize
pub const fn bounded_edge_count(&self) -> usize
Bounded graph edges in the workflow.
Sourcepub const fn no_progress_timeout(&self) -> Duration
pub const fn no_progress_timeout(&self) -> Duration
No-progress interval that elapsed before the watchdog fired.
Sourcepub const fn cycle_policy(&self) -> CycleRunPolicy
pub const fn cycle_policy(&self) -> CycleRunPolicy
Cycle policy active when the watchdog fired.
Trait Implementations§
Source§impl Clone for WorkflowDeadlockDiagnostic
impl Clone for WorkflowDeadlockDiagnostic
Source§fn clone(&self) -> WorkflowDeadlockDiagnostic
fn clone(&self) -> WorkflowDeadlockDiagnostic
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 WorkflowDeadlockDiagnostic
impl Debug for WorkflowDeadlockDiagnostic
Source§impl Display for WorkflowDeadlockDiagnostic
impl Display for WorkflowDeadlockDiagnostic
Source§impl PartialEq for WorkflowDeadlockDiagnostic
impl PartialEq for WorkflowDeadlockDiagnostic
Source§fn eq(&self, other: &WorkflowDeadlockDiagnostic) -> bool
fn eq(&self, other: &WorkflowDeadlockDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkflowDeadlockDiagnostic
impl StructuralPartialEq for WorkflowDeadlockDiagnostic
Auto Trait Implementations§
impl Freeze for WorkflowDeadlockDiagnostic
impl RefUnwindSafe for WorkflowDeadlockDiagnostic
impl Send for WorkflowDeadlockDiagnostic
impl Sync for WorkflowDeadlockDiagnostic
impl Unpin for WorkflowDeadlockDiagnostic
impl UnsafeUnpin for WorkflowDeadlockDiagnostic
impl UnwindSafe for WorkflowDeadlockDiagnostic
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).