#[non_exhaustive]pub enum ValidationRunError {
Interrupted {
error: EvalError,
progress: ValidationProgress,
},
ResourceLimit {
error: EvalError,
progress: ValidationProgress,
},
EvaluationFailure {
error: EvalError,
progress: ValidationProgress,
},
BindingFailure {
error: BindError,
progress: ValidationProgress,
},
ThreadFailure(String),
ControlConflict(HostControlConflict),
}Expand description
A controlled validation did not produce a validation report.
The driver interprets the opaque evaluator interruption. This crate knows neither resource budgets nor the authority that requested interruption.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Interrupted
A typed host interruption, never an invalid or unsupported trace.
Fields
progress: ValidationProgressActual progress in this invocation.
ResourceLimit
Allocation or evaluator resource exhaustion; no validation verdict exists.
Fields
progress: ValidationProgressActual progress before validation could not complete.
EvaluationFailure
An internal evaluator failure aborted validation, rather than refuting it.
Fields
progress: ValidationProgressWork completed before the failure.
BindingFailure
The fresh source binder reported an intrinsic internal binding failure.
Fields
progress: ValidationProgressProgress before a private runtime could be constructed.
ThreadFailure(String)
The isolated validation thread could not run or did not return.
ControlConflict(HostControlConflict)
Another thread owns the evaluator’s control registration.
Trait Implementations§
Source§impl Clone for ValidationRunError
impl Clone for ValidationRunError
Source§fn clone(&self) -> ValidationRunError
fn clone(&self) -> ValidationRunError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ValidationRunError
impl Debug for ValidationRunError
Source§impl Display for ValidationRunError
impl Display for ValidationRunError
impl Eq for ValidationRunError
Source§impl Error for ValidationRunError
impl Error for ValidationRunError
1.30.0 · 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()