pub struct LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,{ /* private fields */ }
Expand description
A logging Mutator
that wraps around a StdScheduledMutator
.
Implementations
sourceimpl<I, MT, S, SM> LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
impl<I, MT, S, SM> LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
sourcepub fn new(scheduled: SM) -> Self
pub fn new(scheduled: SM) -> Self
Create a new StdScheduledMutator
instance without mutations and corpus
Trait Implementations
sourceimpl<I, MT, S, SM> ComposedByMutations<I, MT, S> for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
impl<I, MT, S, SM> ComposedByMutations<I, MT, S> for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
sourceimpl<I, MT, S, SM> Debug for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
impl<I, MT, S, SM> Debug for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
sourceimpl<I, MT, S, SM> Mutator<I, S> for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
impl<I, MT, S, SM> Mutator<I, S> for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
sourceimpl<I, MT, S, SM> ScheduledMutator<I, MT, S> for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
impl<I, MT, S, SM> ScheduledMutator<I, MT, S> for LoggerScheduledMutator<I, MT, S, SM>where
I: Input,
MT: MutatorsTuple<I, S> + NamedTuple,
S: HasRand + HasCorpus<I>,
SM: ScheduledMutator<I, MT, S>,
sourcefn iterations(&self, state: &mut S, _: &I) -> u64
fn iterations(&self, state: &mut S, _: &I) -> u64
Compute the number of iterations used to apply stacked mutations
sourcefn scheduled_mutate(
&mut self,
state: &mut S,
input: &mut I,
stage_idx: i32
) -> Result<MutationResult, Error>
fn scheduled_mutate(
&mut self,
state: &mut S,
input: &mut I,
stage_idx: i32
) -> Result<MutationResult, Error>
New default implementation for mutate.
Implementations must forward mutate() to this method Read more
Auto Trait Implementations
impl<I, MT, S, SM> RefUnwindSafe for LoggerScheduledMutator<I, MT, S, SM>where
I: RefUnwindSafe,
MT: RefUnwindSafe,
S: RefUnwindSafe,
SM: RefUnwindSafe,
impl<I, MT, S, SM> Send for LoggerScheduledMutator<I, MT, S, SM>where
I: Send,
MT: Send,
S: Send,
SM: Send,
impl<I, MT, S, SM> Sync for LoggerScheduledMutator<I, MT, S, SM>where
I: Sync,
MT: Sync,
S: Sync,
SM: Sync,
impl<I, MT, S, SM> Unpin for LoggerScheduledMutator<I, MT, S, SM>where
I: Unpin,
MT: Unpin,
S: Unpin,
SM: Unpin,
impl<I, MT, S, SM> UnwindSafe for LoggerScheduledMutator<I, MT, S, SM>where
I: UnwindSafe,
MT: UnwindSafe,
S: UnwindSafe,
SM: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.