Expand description
A CombinedExecutor
wraps a primary executor, forwarding its methods, and a secondary one
Implementations
sourceimpl<A: Debug, B: Debug> CombinedExecutor<A, B>
impl<A: Debug, B: Debug> CombinedExecutor<A, B>
sourcepub fn new<EM, I, S, Z>(primary: A, secondary: B) -> Self where
A: Executor<EM, I, S, Z>,
B: Executor<EM, I, S, Z>,
I: Input,
pub fn new<EM, I, S, Z>(primary: A, secondary: B) -> Self where
A: Executor<EM, I, S, Z>,
B: Executor<EM, I, S, Z>,
I: Input,
Create a new CombinedExecutor
, wrapping the given executor
s.
Trait Implementations
sourceimpl<A, B, EM, I, S, Z> Executor<EM, I, S, Z> for CombinedExecutor<A, B> where
A: Executor<EM, I, S, Z>,
B: Executor<EM, I, S, Z>,
I: Input,
impl<A, B, EM, I, S, Z> Executor<EM, I, S, Z> for CombinedExecutor<A, B> where
A: Executor<EM, I, S, Z>,
B: Executor<EM, I, S, Z>,
I: Input,
sourcefn run_target(
&mut self,
fuzzer: &mut Z,
state: &mut S,
mgr: &mut EM,
input: &I
) -> Result<ExitKind, Error>
fn run_target(
&mut self,
fuzzer: &mut Z,
state: &mut S,
mgr: &mut EM,
input: &I
) -> Result<ExitKind, Error>
Instruct the target about the input and run
sourcefn with_observers<OT>(self, observers: OT) -> WithObservers<Self, OT> where
Self: Sized,
OT: ObserversTuple<I, S>,
fn with_observers<OT>(self, observers: OT) -> WithObservers<Self, OT> where
Self: Sized,
OT: ObserversTuple<I, S>,
Wraps this Executor with the given ObserversTuple
to implement HasObservers
. Read more
sourcefn post_run_reset(&mut self)
fn post_run_reset(&mut self)
Custom Reset Handler, e.g., to reset timers
sourceimpl<A, B, I, OT, S> HasObservers<I, OT, S> for CombinedExecutor<A, B> where
A: HasObservers<I, OT, S>,
B: Debug,
OT: ObserversTuple<I, S>,
impl<A, B, I, OT, S> HasObservers<I, OT, S> for CombinedExecutor<A, B> where
A: HasObservers<I, OT, S>,
B: Debug,
OT: ObserversTuple<I, S>,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for CombinedExecutor<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for CombinedExecutor<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for CombinedExecutor<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for CombinedExecutor<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for CombinedExecutor<A, B> where
A: UnwindSafe,
B: UnwindSafe,
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
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
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.