pub enum ScenarioOutcome {
Ran(ScenarioReport),
Skipped {
name: &'static str,
provider: &'static str,
reason: &'static str,
},
}Available on crate feature
test-utils and not (target_os=unknown and WebAssembly) only.Expand description
What a capability-gated scenario did: ran its assertions, or skipped because the wire family cannot spell the sequence shape.
A skip is an explicit, named outcome — never a silent pass. The
streaming_conformance_suite!
macro cross-checks it against the suite’s declared capability flags via
check_gated_outcome, so a fixture cannot vacuously pass a scenario its
capabilities claim to cover (#2258 review, F8 corpus-honesty batch).
Variants§
Ran(ScenarioReport)
The scenario ran and its assertions held.
Skipped
The fixture lacks the sequence shape; nothing was asserted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScenarioOutcome
impl RefUnwindSafe for ScenarioOutcome
impl Send for ScenarioOutcome
impl Sync for ScenarioOutcome
impl Unpin for ScenarioOutcome
impl UnsafeUnpin for ScenarioOutcome
impl UnwindSafe for ScenarioOutcome
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