Struct fuzzcheck::FuzzingResult
source · [−]pub struct FuzzingResult<T> {
pub found_test_failure: bool,
pub reason_for_stopping: ReasonForStopping<T>,
}
Expand description
The result of a fuzz test, if it ends.
It contains two fields:
found_test_failure
istrue
if the fuzzer found any failing test casereason_for_stopping
gives the reason why the fuzzer stopped.
If the fuzzer stopped because it found a failing test case, then reason_for_stopping
has the
value ReasonForStopping::TestFailure(T)
where T
is the
failing test case.
Fields
found_test_failure: bool
reason_for_stopping: ReasonForStopping<T>
Trait Implementations
sourceimpl<T: Clone> Clone for FuzzingResult<T>
impl<T: Clone> Clone for FuzzingResult<T>
sourcefn clone(&self) -> FuzzingResult<T>
fn clone(&self) -> FuzzingResult<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for FuzzingResult<T> where
T: RefUnwindSafe,
impl<T> Send for FuzzingResult<T> where
T: Send,
impl<T> Sync for FuzzingResult<T> where
T: Sync,
impl<T> Unpin for FuzzingResult<T> where
T: Unpin,
impl<T> UnwindSafe for FuzzingResult<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more