#[non_exhaustive]pub struct Step {
pub action_taken: String,
pub nondet_picks: Value,
pub state: Value,
}Expand description
A single step from an Apalache-generated ITF trace.
Each ITF state record contains the TLA+ variables plus auxiliary MBT
variables (action_taken, nondet_picks) that identify which action
was taken and any nondeterministic choices.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action_taken: StringThe TLA+ action that was taken (e.g., “request_success”, “tick”).
nondet_picks: ValueNondeterministic picks made by this step (ITF Value for proper type handling).
state: ValueFull TLA+ state after this step – an itf::Value::Record containing
all state variables. Used for state comparison via State::from_spec.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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