pub struct CompletionInfo {
pub attempt: usize,
pub outcome: StepOutcome<GenericSpec>,
pub root_total_elapsed: Duration,
pub leaf_total_elapsed: Duration,
pub step_elapsed: Duration,
pub attempt_elapsed: Duration,
}Expand description
Completion information associated with a step.
Fields§
§attempt: usizeThe attempt number of the step.
outcome: StepOutcome<GenericSpec>The outcome of the step: success, warning, or skipped.
root_total_elapsed: DurationThe total elapsed time as reported by the root event.
leaf_total_elapsed: DurationThe total elapsed time as reported by the leaf execution event, for nested events.
step_elapsed: DurationDuration elapsed for the step.
attempt_elapsed: DurationDuration elapsed for the attempt.
Trait Implementations§
Source§impl Clone for CompletionInfo
impl Clone for CompletionInfo
Source§fn clone(&self) -> CompletionInfo
fn clone(&self) -> CompletionInfo
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 CompletionInfo
impl RefUnwindSafe for CompletionInfo
impl Send for CompletionInfo
impl Sync for CompletionInfo
impl Unpin for CompletionInfo
impl UnsafeUnpin for CompletionInfo
impl UnwindSafe for CompletionInfo
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