pub struct PropertyTestResult {
pub operations_executed: u64,
pub seed: u64,
pub failure: Option<PropertyTestFailure>,
}Expand description
Result of a property test run.
Fields§
§operations_executed: u64Number of operations successfully executed
seed: u64Seed used for reproduction
failure: Option<PropertyTestFailure>Failure details, if any
Implementations§
Source§impl PropertyTestResult
impl PropertyTestResult
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Check if the test passed.
Sourcepub fn is_failure(&self) -> bool
pub fn is_failure(&self) -> bool
Check if the test failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropertyTestResult
impl RefUnwindSafe for PropertyTestResult
impl Send for PropertyTestResult
impl Sync for PropertyTestResult
impl Unpin for PropertyTestResult
impl UnwindSafe for PropertyTestResult
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