Struct fuzzcheck::builder::FuzzerBuilder4
source · [−]pub struct FuzzerBuilder4<F, M, V, Sens, P> where
F: Fn(&V) -> bool + 'static,
V: Clone + 'static,
M: Mutator<V>,
Sens: Sensor,
P: CompatibleWithObservations<Sens::Observations>, { /* private fields */ }
Expand description
A fuzz-test builder that knows the function to fuzz-test, the mutator, the serializer, the sensor, and the pool.
Use [self.arguments(..)
] to specify the arguments and obtain a FuzzerBuilder5
.
If you are using the cargo-fuzzcheck
command line tool (and you should), use
self.arguments_from_cargo_fuzzcheck()
to use the arguments specified by this tool, which is easier.
Implementations
sourceimpl<F, M, V, Sens, P> FuzzerBuilder4<F, M, V, Sens, P> where
F: Fn(&V) -> bool,
V: Clone + 'static,
M: Mutator<V>,
Sens: Sensor,
P: CompatibleWithObservations<Sens::Observations>,
impl<F, M, V, Sens, P> FuzzerBuilder4<F, M, V, Sens, P> where
F: Fn(&V) -> bool,
V: Clone + 'static,
M: Mutator<V>,
Sens: Sensor,
P: CompatibleWithObservations<Sens::Observations>,
pub fn arguments(self, arguments: Arguments) -> FuzzerBuilder5<F, M, V, Sens, P>
pub fn arguments_from_cargo_fuzzcheck(self) -> FuzzerBuilder5<F, M, V, Sens, P>
Auto Trait Implementations
impl<F, M, V, Sens, P> !RefUnwindSafe for FuzzerBuilder4<F, M, V, Sens, P>
impl<F, M, V, Sens, P> !Send for FuzzerBuilder4<F, M, V, Sens, P>
impl<F, M, V, Sens, P> !Sync for FuzzerBuilder4<F, M, V, Sens, P>
impl<F, M, V, Sens, P> Unpin for FuzzerBuilder4<F, M, V, Sens, P> where
F: Unpin,
M: Unpin,
P: Unpin,
Sens: Unpin,
impl<F, M, V, Sens, P> !UnwindSafe for FuzzerBuilder4<F, M, V, Sens, P>
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