pub enum ReportCheckError {
FailingSeeds {
name: String,
count: usize,
seeds: Vec<u64>,
},
AssertionViolations {
name: String,
violations: String,
},
}Expand description
Errors from SimulationReport::check.
Variants§
FailingSeeds
One or more seeds produced panics or assertion failures.
Fields
AssertionViolations
One or more always-type assertion contracts were violated.
Trait Implementations§
Source§impl Debug for ReportCheckError
impl Debug for ReportCheckError
Source§impl Display for ReportCheckError
impl Display for ReportCheckError
Source§impl Error for ReportCheckError
impl Error for ReportCheckError
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()
Auto Trait Implementations§
impl Freeze for ReportCheckError
impl RefUnwindSafe for ReportCheckError
impl Send for ReportCheckError
impl Sync for ReportCheckError
impl Unpin for ReportCheckError
impl UnsafeUnpin for ReportCheckError
impl UnwindSafe for ReportCheckError
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