pub struct Outcome {
pub fired: Vec<ExpId>,
pub uncertain: Vec<ExpId>,
pub overridden: Vec<(ExpId, ExpId)>,
pub clashes: Vec<(ExpId, ExpId, VarId)>,
pub invariants: Vec<ExpId>,
pub after: Condition,
}Fields§
§fired: Vec<ExpId>Expectations that certainly fire.
uncertain: Vec<ExpId>Expectations that might fire: the state or the action doesn’t pin down whether their Given or trigger holds.
overridden: Vec<(ExpId, ExpId)>(loser, winner): would have fired, but an exception that also fires wins.
clashes: Vec<(ExpId, ExpId, VarId)>Fired expectations whose Thens can’t both hold, and the state they disagree on.
invariants: Vec<ExpId>Invariants in force afterwards.
after: ConditionThe state afterwards.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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