pub struct FailureInfo {
pub total_attempts: usize,
pub message: String,
pub causes: Vec<String>,
pub root_total_elapsed: Duration,
pub leaf_total_elapsed: Duration,
pub step_elapsed: Duration,
pub attempt_elapsed: Duration,
}Expand description
Information about a failed step.
Fields§
§total_attempts: usizeThe total number of attempts made for this step.
message: StringThe failure message.
causes: Vec<String>Failure causes.
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 FailureInfo
impl Clone for FailureInfo
Source§fn clone(&self) -> FailureInfo
fn clone(&self) -> FailureInfo
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 FailureInfo
impl RefUnwindSafe for FailureInfo
impl Send for FailureInfo
impl Sync for FailureInfo
impl Unpin for FailureInfo
impl UnsafeUnpin for FailureInfo
impl UnwindSafe for FailureInfo
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