pub struct StepOutcome {
pub step: StepRef,
pub status: Status,
pub attempts: u32,
pub duration: Duration,
pub detail: Option<String>,
pub attempt_details: Vec<String>,
pub reproduce_hint: Option<String>,
}Expand description
Per-step result reported by an engine.
Fields§
§step: StepRefAnchor to the authored feature line.
status: StatusOutcome status.
attempts: u32Number of attempts made (≥ 1 once the step ran).
duration: DurationWall-clock duration of all attempts.
detail: Option<String>Engine-specific detail (assert message, timing breakdown, …).
attempt_details: Vec<String>Messages from earlier, failed attempts of a step that ultimately passed — the flaky-failure detail. Empty for a clean single-attempt step; engine-agnostic, so any engine with retries can fill it.
reproduce_hint: Option<String>Engine-provided command to reproduce this step alone (engine-hurl fills
it with the redacted curl of the failing request). Set only on failure;
None otherwise and for engines that offer no hint.
Trait Implementations§
Source§impl Clone for StepOutcome
impl Clone for StepOutcome
Source§fn clone(&self) -> StepOutcome
fn clone(&self) -> StepOutcome
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 moreAuto Trait Implementations§
impl Freeze for StepOutcome
impl RefUnwindSafe for StepOutcome
impl Send for StepOutcome
impl Sync for StepOutcome
impl Unpin for StepOutcome
impl UnsafeUnpin for StepOutcome
impl UnwindSafe for StepOutcome
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