Struct fuzzcheck::sensors_and_pools::TestFailurePool
source · [−]pub struct TestFailurePool { /* private fields */ }
Expand description
A pool that saves failing test cases.
It categorizes the test cases by their failure information and sort them by complexity.
Trait Implementations
sourceimpl CompatibleWithObservations<Option<TestFailure>> for TestFailurePool
impl CompatibleWithObservations<Option<TestFailure>> for TestFailurePool
fn process(
&mut self,
input_idx: PoolStorageIndex,
observations: &Option<TestFailure>,
complexity: f64
) -> Vec<CorpusDelta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl Pool for TestFailurePool
impl Pool for TestFailurePool
type Stats = TestFailurePoolStats
type Stats = TestFailurePoolStats
Statistics about the pool to be printed to the terminal as the fuzzer is running and saved to a .csv file after the run Read more
sourcefn get_random_index(&mut self) -> Option<PoolStorageIndex>
fn get_random_index(&mut self) -> Option<PoolStorageIndex>
Get the index of a random test case. Read more
Auto Trait Implementations
impl !RefUnwindSafe for TestFailurePool
impl Send for TestFailurePool
impl !Sync for TestFailurePool
impl Unpin for TestFailurePool
impl UnwindSafe for TestFailurePool
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