Skip to main content

Verdict

Enum Verdict 

Source
pub enum Verdict {
Show 15 variants Success, InvariantViolated { property: String, initial: bool, }, Deadlock, NoNextAction, PropertyViolatedInitially { property: String, }, ActionPropertyViolated { property: String, }, Failed, Unsupported { feature: String, }, Budget, Admission { limit: Limit, max: u64, observed: u64, }, GraphStop, PrefixStop { level: u64, }, CheckpointPaused { next_level: u64, }, CheckpointError { message: String, }, Internal { message: String, },
}
Expand description

How a run ended.

Variants§

§

Success

The state space was exhausted with no violation.

§

InvariantViolated

An invariant was violated.

Fields

§property: String

The invariant’s name.

§initial: bool

Whether the violating state is initial.

§

Deadlock

A reachable state has no successors.

§

NoNextAction

Initial states were retained, but no next-state action was defined (TLC’s TLC_STATES_AND_NO_NEXT_ACTION, rather than a deadlock).

§

PropertyViolatedInitially

An implied initial predicate of a PROPERTY is false on an initial state.

Fields

§property: String

The property’s name.

§

ActionPropertyViolated

An implied action [A]_v of a PROPERTY is false on a step.

Fields

§property: String

The property’s name.

§

Failed

An evaluation error, or a state that is not completely specified, ended the search: Outcome::failure says where.

§

Unsupported

A construct, size or error Core does not handle.

Fields

§feature: String

What it was.

§

Budget

The run’s budget (time or memory) ran out: the caller’s poll said so.

§

Admission

The next new state would exceed a state or depth limit.

Fields

§limit: Limit

Which limit.

§max: u64

Its value.

§observed: u64

The admission that was prevented: the distinct count or the depth the state would have had.

§

GraphStop

The graph sink ended the search (graph::GraphSink); it keeps the reason.

§

PrefixStop

The graph sink stopped the search after a completed level, whose frontier is not exhausted.

Fields

§level: u64

The completed level (the initial states are level 1).

§

CheckpointPaused

A requested completed-level pause; never a model verdict.

Fields

§next_level: u64

Next unexpanded source level.

§

CheckpointError

A checkpoint transaction failed without proving a model result.

Fields

§message: String

The explicit structural, ownership or admission failure.

§

Internal

A bug in the core.

Fields

§message: String

What happened.

Trait Implementations§

Source§

impl Clone for Verdict

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Verdict

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Verdict

Source§

impl PartialEq for Verdict

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Verdict

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.