Struct fuzzcheck::builder::FuzzerBuilder2[][src]

pub struct FuzzerBuilder2<F, M, V> where
    F: Fn(&V) -> bool + 'static,
    V: Clone,
    M: Mutator<V>, 
{ /* fields omitted */ }
Expand description

A fuzz-test builder that knows the function to fuzz-test and the mutator.

Use self.serializer(..) to specify the serializer and obtain a FuzzerBuilder3.

Implementations

Specify the serializer to use when saving the interesting test cases to the file system.

The serializer must implement the Serializer trait. If you wish to use serde, you can use .serde_serializer() as follows:

fuzzcheck::fuzz_test(foo)
    .mutator(
        /* .. */
    )
    .serde_serializer()

Specify SerdeSerializer as the serializer to use when saving the interesting test cases to the file system.

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

Performs the conversion.

Performs the conversion.

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.