Struct libafl::stages::ClosureStage
source · [−]pub struct ClosureStage<CB, E, EM, S, Z> where
CB: FnMut(&mut Z, &mut E, &mut S, &mut EM, usize) -> Result<(), Error>, { /* private fields */ }
Expand description
A Stage
that will call a closure
Implementations
Trait Implementations
sourceimpl<CB: Debug, E: Debug, EM: Debug, S: Debug, Z: Debug> Debug for ClosureStage<CB, E, EM, S, Z> where
CB: FnMut(&mut Z, &mut E, &mut S, &mut EM, usize) -> Result<(), Error>,
impl<CB: Debug, E: Debug, EM: Debug, S: Debug, Z: Debug> Debug for ClosureStage<CB, E, EM, S, Z> where
CB: FnMut(&mut Z, &mut E, &mut S, &mut EM, usize) -> Result<(), Error>,
sourceimpl<CB, E, EM, S, Z> From<CB> for ClosureStage<CB, E, EM, S, Z> where
CB: FnMut(&mut Z, &mut E, &mut S, &mut EM, usize) -> Result<(), Error>,
impl<CB, E, EM, S, Z> From<CB> for ClosureStage<CB, E, EM, S, Z> where
CB: FnMut(&mut Z, &mut E, &mut S, &mut EM, usize) -> Result<(), Error>,
Auto Trait Implementations
impl<CB, E, EM, S, Z> RefUnwindSafe for ClosureStage<CB, E, EM, S, Z> where
CB: RefUnwindSafe,
E: RefUnwindSafe,
EM: RefUnwindSafe,
S: RefUnwindSafe,
Z: RefUnwindSafe,
impl<CB, E, EM, S, Z> Send for ClosureStage<CB, E, EM, S, Z> where
CB: Send,
E: Send,
EM: Send,
S: Send,
Z: Send,
impl<CB, E, EM, S, Z> Sync for ClosureStage<CB, E, EM, S, Z> where
CB: Sync,
E: Sync,
EM: Sync,
S: Sync,
Z: Sync,
impl<CB, E, EM, S, Z> Unpin for ClosureStage<CB, E, EM, S, Z> where
CB: Unpin,
E: Unpin,
EM: Unpin,
S: Unpin,
Z: Unpin,
impl<CB, E, EM, S, Z> UnwindSafe for ClosureStage<CB, E, EM, S, Z> where
CB: UnwindSafe,
E: UnwindSafe,
EM: UnwindSafe,
S: UnwindSafe,
Z: 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.