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
impl Failure
Sourcepub fn symmetry_liveness(&self) -> Option<&SymmetryLivenessResolution>
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.
Sourcepub fn configuration(&self) -> Option<Configuration>
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.
Sourcepub fn action_evaluation(&self) -> Option<&ActionEvaluation>
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.
Sourcepub fn state_evaluation(&self) -> Option<&StateEvaluation>
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();
}Sourcepub fn binding_output(&self) -> &[Message]
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.
Sourcepub fn validation_progress(&self) -> Option<&ValidationProgress>
pub fn validation_progress(&self) -> Option<&ValidationProgress>
Actual progress from an interrupted independent validation invocation.
Sourcepub fn exploration(&self) -> Option<&ExplorationEvidence>
pub fn exploration(&self) -> Option<&ExplorationEvidence>
Actual capture facts, when available. Consult Self::capture_completed
to distinguish a committed prefix from complete exploration.
Sourcepub const fn elapsed(&self) -> Duration
pub const fn elapsed(&self) -> Duration
Total time including binding, exploration and any validation work.
Sourcepub fn capture_completed(&self) -> Option<bool>
pub fn capture_completed(&self) -> Option<bool>
Whether capture completed. Unknown thread failures yield None, not
a claim that no work ran.
Trait Implementations§
Source§impl Error for Failure
impl Error for Failure
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()