Trait StagesTuple

Source
pub trait StagesTuple<E, EM, S, Z> {
    // Required method
    fn perform_all(
        &mut self,
        fuzzer: &mut Z,
        executor: &mut E,
        state: &mut S,
        manager: &mut EM,
    ) -> Result<(), Error>;
}
Expand description

A tuple holding all Stages used for fuzzing.

Required Methods§

Source

fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager: &mut EM, ) -> Result<(), Error>

Performs all Stages in this tuple.

Implementations on Foreign Types§

Source§

impl<E, EM, S, Z> StagesTuple<E, EM, S, Z> for ()

Source§

fn perform_all( &mut self, _: &mut Z, _: &mut E, stage: &mut S, _: &mut EM, ) -> Result<(), Error>

Source§

impl<E, EM, S, Z> StagesTuple<E, EM, S, Z> for Vec<Box<dyn RestartableStage<E, EM, S, Z>>>

Source§

fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager: &mut EM, ) -> Result<(), Error>

Performs all stages in the Vec Checks after every stage if state wants to stop and returns an Error::ShuttingDown if so

Source§

impl<Head, Tail, E, EM, S, Z> StagesTuple<E, EM, S, Z> for (Head, Tail)
where Head: Stage<E, EM, S, Z> + Restartable<S>, Tail: StagesTuple<E, EM, S, Z> + HasConstLen, S: HasCurrentStageId + Stoppable + MaybeHasClientPerfMonitor, EM: SendExiting,

Source§

fn perform_all( &mut self, fuzzer: &mut Z, executor: &mut E, state: &mut S, manager: &mut EM, ) -> Result<(), Error>

Performs all stages in the tuple, Checks after every stage if state wants to stop and returns an Error::ShuttingDown if so

Implementors§