pub struct TraceState {
pub label: String,
pub action: Option<String>,
pub values: Vec<Value>,
pub text: Option<String>,
pub partial: Option<PartialState>,
}Expand description
One state of a counterexample.
Fields§
§label: StringTLC’s label: <Initial predicate> or the action’s location label.
action: Option<String>The action’s name, when the state was produced by a named action.
values: Vec<Value>The state’s values, by VarId. Empty for a state that leaves
variables unassigned; partial retains its structured bindings.
text: Option<String>TLC’s text of a state that leaves variables unassigned (null for
them), the last state of a TLC_STATE_NOT_COMPLETELY_SPECIFIED_NEXT
counterexample; None otherwise.
partial: Option<PartialState>Structured terminal bindings, kept separate from complete state values.
None entries are unassigned, never ordinary TLA values.
Trait Implementations§
Source§impl Clone for TraceState
impl Clone for TraceState
Auto Trait Implementations§
impl !RefUnwindSafe for TraceState
impl !UnwindSafe for TraceState
impl Forget for TraceState
impl Freeze for TraceState
impl Move for TraceState
impl Send for TraceState
impl Sync for TraceState
impl Unpin for TraceState
impl UnsafeUnpin for TraceState
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