Trait libafl::events::EventRestarter [−][src]
pub trait EventRestarter<S> { fn on_restart(&mut self, _state: &mut S) -> Result<(), Error> { ... } fn await_restart_safe(&mut self) { ... } }
Provided methods
For restarting event managers, implement a way to forward state to their next peers.
fn await_restart_safe(&mut self)
fn await_restart_safe(&mut self)
Block until we are safe to exit.
Implementors
impl<I, OT, S, SP> EventRestarter<S> for LlmpEventManager<I, OT, S, SP> where
I: Input,
OT: ObserversTuple<I, S>,
SP: ShMemProvider,
impl<I, OT, S, SP> EventRestarter<S> for LlmpRestartingEventManager<I, OT, S, SP> where
I: Input,
OT: ObserversTuple<I, S>,
S: Serialize,
SP: ShMemProvider,
impl<I, S, SP, ST> EventRestarter<S> for SimpleRestartingEventManager<I, S, SP, ST> where
I: Input,
S: Serialize,
SP: ShMemProvider,
ST: Stats,