pub enum CompletionReason {
StepCompleted(Arc<CompletionInfo>),
SubsequentStarted {
later_step: StepKey,
root_total_elapsed: Duration,
},
ParentCompleted {
parent_step: StepKey,
parent_info: Arc<CompletionInfo>,
},
}Variants§
StepCompleted(Arc<CompletionInfo>)
This step completed.
SubsequentStarted
A later step within the same execution was started and we don’t have information regarding this step.
Fields
ParentCompleted
A parent step within the same execution completed and we don’t have information regarding this step.
Fields
§
parent_info: Arc<CompletionInfo>Completion info associated with the parent step.
Implementations§
Source§impl CompletionReason
impl CompletionReason
Sourcepub fn step_completed_info(&self) -> Option<&Arc<CompletionInfo>>
pub fn step_completed_info(&self) -> Option<&Arc<CompletionInfo>>
Returns the CompletionInfo for this step, if this is the
Self::StepCompleted variant.
Trait Implementations§
Source§impl Clone for CompletionReason
impl Clone for CompletionReason
Source§fn clone(&self) -> CompletionReason
fn clone(&self) -> CompletionReason
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 moreAuto Trait Implementations§
impl Freeze for CompletionReason
impl RefUnwindSafe for CompletionReason
impl Send for CompletionReason
impl Sync for CompletionReason
impl Unpin for CompletionReason
impl UnsafeUnpin for CompletionReason
impl UnwindSafe for CompletionReason
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