pub struct StepByStepReport {
pub setup_results: Vec<StepResult>,
pub test_results: Vec<StepResult>,
pub teardown_results: Vec<StepResult>,
pub captures: HashMap<String, Value>,
pub aborted: bool,
}Expand description
Outcome of a full step-by-step run. Collected for callers that want to hand the session back to the normal reporting pipeline after a debug session ends.
Fields§
§setup_results: Vec<StepResult>Results from setup steps that were actually executed (setup stops
on StepControl::Stop and does not run when skip_setup is
true).
test_results: Vec<StepResult>Results from the targeted test’s steps.
teardown_results: Vec<StepResult>Results from teardown steps.
captures: HashMap<String, Value>Captures visible at the end of the session.
aborted: boolTrue when the callback returned StepControl::Stop at any
point so the caller can tell an aborted session from a
fully-finished one.
Trait Implementations§
Source§impl Clone for StepByStepReport
impl Clone for StepByStepReport
Source§fn clone(&self) -> StepByStepReport
fn clone(&self) -> StepByStepReport
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 moreSource§impl Debug for StepByStepReport
impl Debug for StepByStepReport
Source§impl Default for StepByStepReport
impl Default for StepByStepReport
Source§fn default() -> StepByStepReport
fn default() -> StepByStepReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StepByStepReport
impl RefUnwindSafe for StepByStepReport
impl Send for StepByStepReport
impl Sync for StepByStepReport
impl Unpin for StepByStepReport
impl UnsafeUnpin for StepByStepReport
impl UnwindSafe for StepByStepReport
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: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more