pub struct Blocked {
pub action: String,
pub satisfied: usize,
pub total: usize,
pub conjunct: String,
pub about_next_state: bool,
pub error: Option<String>,
}Expand description
How close one action came to permitting the step.
Fields§
§action: StringThe action as it was reached, with arguments at the values they took:
Timeout(s = "s1").
satisfied: usizeHow many of the action’s conjuncts hold. Counted over all of them, not just up to the first failure: an action wanting one guard it does not have is much closer to firing than one whose every clause is wrong, and stopping early cannot tell them apart.
total: usize§conjunct: StringThe first conjunct that does not hold.
about_next_state: boolWhether that conjunct constrains the successor state. False means the action was not available; true means it was, but produces a different next state than the one taken.
error: Option<String>Set when the conjunct could not be evaluated rather than evaluating to FALSE — a guard that would have protected it has already failed.
Trait Implementations§
impl Eq for Blocked
impl StructuralPartialEq for Blocked
Auto Trait Implementations§
impl Freeze for Blocked
impl RefUnwindSafe for Blocked
impl Send for Blocked
impl Sync for Blocked
impl Unpin for Blocked
impl UnsafeUnpin for Blocked
impl UnwindSafe for Blocked
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