Skip to main content

Failure

Struct Failure 

Source
pub struct Failure { /* private fields */ }
Expand description

A temporal failure with retained execution facts, never a verdict, as crate::CheckReport::temporal_failure returns it.

Implementations§

Source§

impl Failure

Source

pub fn symmetry_liveness(&self) -> Option<&SymmetryLivenessResolution>

Original declared symmetry and effective whole-run policy after binding. None means no successfully bound model is available; this is not proof.

Source

pub fn configuration(&self) -> Option<Configuration>

Actual configured owner limits when admitted by the enclosing API. Internal failures without a configuration retain None, never guessed default settings. This does not certify that any bound was exercised.

Source

pub fn action_evaluation(&self) -> Option<&ActionEvaluation>

The actual typed active action-label error, when one occurred. This does not claim TLC’s error ordering across multiple properties.

Source

pub fn state_evaluation(&self) -> Option<&StateEvaluation>

Original state-atom cause and postcapture/periodic/attribution site. This is not certified TLC demand or a new evaluation-error verdict.

if let Some(state) = failure.state_evaluation() {
    let _actual_site = state.site();
    let _original_cause = state.core_cause();
}
Source

pub fn binding_output(&self) -> &[Message]

Output retained from the binding invocation which failed.

For validation rebinding this is replay evidence, not additional output from the original execution. Report writers retain the capture’s output.

Source

pub fn validation_progress(&self) -> Option<&ValidationProgress>

Actual progress from an interrupted independent validation invocation.

Source

pub fn error(&self) -> &Error

Original diagnostic, preserving its code and classification.

Source

pub const fn stage(&self) -> Stage

Stage reached before the failure.

Source

pub fn exploration(&self) -> Option<&ExplorationEvidence>

Actual capture facts, when available. Consult Self::capture_completed to distinguish a committed prefix from complete exploration.

Source

pub const fn elapsed(&self) -> Duration

Total time including binding, exploration and any validation work.

Source

pub fn capture_completed(&self) -> Option<bool>

Whether capture completed. Unknown thread failures yield None, not a claim that no work ran.

Source

pub fn periodic(&self) -> Option<Checks>

Actual deterministic scheduling work before this failure, if selected.

Source

pub fn workers(&self, requested: usize) -> Option<Workers>

Actual execution width where known. Pre-search refusals prove zero; unobserved thread failures do not.

Trait Implementations§

Source§

impl Clone for Failure

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 Failure

Source§

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

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

impl Display for Failure

Source§

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

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

impl Error for Failure

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

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<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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.