pub enum AssumptionError {
NoAssumptionsDefined,
NoDataToTestDefined,
AssumptionFailed(String),
EvaluationFailed(String),
}Variants§
NoAssumptionsDefined
Error returned when verification is attempted on a model with no assumptions.
NoDataToTestDefined
Error returned when verification is attempted without data i.e. empty collection.
AssumptionFailed(String)
Error to capture the specific failed assumption
EvaluationFailed(String)
Wraps an error that occurred during the execution of an assumption function.
Trait Implementations§
Source§impl Clone for AssumptionError
impl Clone for AssumptionError
Source§fn clone(&self) -> AssumptionError
fn clone(&self) -> AssumptionError
Returns a duplicate of the value. Read more
1.0.0 · 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 AssumptionError
impl Debug for AssumptionError
Source§impl Display for AssumptionError
impl Display for AssumptionError
Source§impl Error for AssumptionError
impl Error for AssumptionError
1.30.0 · 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 Hash for AssumptionError
impl Hash for AssumptionError
Source§impl PartialEq for AssumptionError
impl PartialEq for AssumptionError
impl Eq for AssumptionError
impl StructuralPartialEq for AssumptionError
Auto Trait Implementations§
impl Freeze for AssumptionError
impl RefUnwindSafe for AssumptionError
impl Send for AssumptionError
impl Sync for AssumptionError
impl Unpin for AssumptionError
impl UnwindSafe for AssumptionError
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