pub enum SequenceFixtureOutcome {
Match,
Mismatch {
expected: FixtureExpect,
observed: FixtureExpect,
detail: String,
},
Structural {
error: String,
},
}Expand description
Outcome of evaluating one SequenceFixture against its parent
Sequence. Mirrors runner::FixtureOutcome but speaks in
step-aware terms so the pack test reporter can show which step
of which sequence broke.
Variants§
Match
Observed sequence outcome matches fixture.expect.
Mismatch
Observed sequence outcome differs from fixture.expect.
Fields
§
expected: FixtureExpectWhat the fixture promised (pass/fail).
§
observed: FixtureExpectWhat the runner actually observed.
Structural
Structural error — typically a step-count mismatch between the
sequence’s steps and the fixture’s responses.
Trait Implementations§
Source§impl Clone for SequenceFixtureOutcome
impl Clone for SequenceFixtureOutcome
Source§fn clone(&self) -> SequenceFixtureOutcome
fn clone(&self) -> SequenceFixtureOutcome
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 SequenceFixtureOutcome
impl Debug for SequenceFixtureOutcome
Source§impl PartialEq for SequenceFixtureOutcome
impl PartialEq for SequenceFixtureOutcome
impl Eq for SequenceFixtureOutcome
impl StructuralPartialEq for SequenceFixtureOutcome
Auto Trait Implementations§
impl Freeze for SequenceFixtureOutcome
impl RefUnwindSafe for SequenceFixtureOutcome
impl Send for SequenceFixtureOutcome
impl Sync for SequenceFixtureOutcome
impl Unpin for SequenceFixtureOutcome
impl UnsafeUnpin for SequenceFixtureOutcome
impl UnwindSafe for SequenceFixtureOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.