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:

  1. found_test_failure is true if the fuzzer found any failing test case
  2. reason_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: boolreason_for_stopping: ReasonForStopping<T>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.