pub struct RunOutcome {
pub steps_run: usize,
pub terminal: Terminal,
pub survivors: Vec<Event>,
pub actions: Vec<PreparedAction>,
pub matched: bool,
pub succeeded: bool,
}Expand description
Summary of one event driven through a compiled branch.
Fields§
§steps_run: usizeSteps the event passed through.
terminal: TerminalWhere the run ended.
survivors: Vec<Event>Events still alive at the end (empty if everything dropped).
actions: Vec<PreparedAction>External effects the steps prepared, in emission order.
matched: boolAt least one event passed a material step or reached the branch end.
succeeded: boolThe branch reached a sink or retained an event through its final step.
Trait Implementations§
Source§impl Clone for RunOutcome
impl Clone for RunOutcome
Source§fn clone(&self) -> RunOutcome
fn clone(&self) -> RunOutcome
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 RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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