pub enum VerificationError {
Reference {
cause: Box<ReferenceSolveError>,
},
RelativeErrorExceeded {
check: &'static str,
measured: f64,
limit: f64,
},
SourcePermutationChanged,
HelmholtzOrderOutOfRange {
fixture: &'static str,
observed: f64,
minimum: f64,
maximum: f64,
},
}Expand description
A deterministic verification suite failed before producing a passing report.
Variants§
Reference
A checked fixture or reference solve was refused.
Fields
§
cause: Box<ReferenceSolveError>Exact reference-solver diagnostic.
RelativeErrorExceeded
A measured analytic or metamorphic error exceeded its declared limit.
Fields
SourcePermutationChanged
Canonical source permutations changed the field’s component bits.
HelmholtzOrderOutOfRange
One named Helmholtz fixture did not exhibit second-order convergence.
Trait Implementations§
Source§impl Clone for VerificationError
impl Clone for VerificationError
Source§fn clone(&self) -> VerificationError
fn clone(&self) -> VerificationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerificationError
impl Debug for VerificationError
Source§impl Display for VerificationError
impl Display for VerificationError
Source§impl Error for VerificationError
impl Error for VerificationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ReferenceSolveError> for VerificationError
impl From<ReferenceSolveError> for VerificationError
Source§fn from(cause: ReferenceSolveError) -> Self
fn from(cause: ReferenceSolveError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VerificationError
impl PartialEq for VerificationError
impl StructuralPartialEq for VerificationError
Auto Trait Implementations§
impl Freeze for VerificationError
impl RefUnwindSafe for VerificationError
impl Send for VerificationError
impl Sync for VerificationError
impl Unpin for VerificationError
impl UnsafeUnpin for VerificationError
impl UnwindSafe for VerificationError
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