Struct fuzzcheck::sensors_and_pools::NoopSensor
source · [−]pub struct NoopSensor;
Expand description
A sensor that does nothing.
In practice, it is used in conjunction with UnitPool
to
favour one particular test case throughout the whole fuzzing run. This is partly how the minify
command is implemented.
Trait Implementations
sourceimpl SaveToStatsFolder for NoopSensor
impl SaveToStatsFolder for NoopSensor
sourceimpl Sensor for NoopSensor
impl Sensor for NoopSensor
type Observations = ()
sourcefn start_recording(&mut self)
fn start_recording(&mut self)
Signal to the sensor that it should prepare to record observations
sourcefn stop_recording(&mut self)
fn stop_recording(&mut self)
Signal to the sensor that it should stop recording observations
sourcefn get_observations(&mut self)
fn get_observations(&mut self)
Access the sensor’s observations
Auto Trait Implementations
impl RefUnwindSafe for NoopSensor
impl Send for NoopSensor
impl Sync for NoopSensor
impl Unpin for NoopSensor
impl UnwindSafe for NoopSensor
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