Struct libafl::events::simple::SimpleEventManager [−][src]
A simple, single-threaded event manager that just logs
Implementations
impl<I, S, ST> SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]
impl<I, S, ST> SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]pub fn new(stats: ST) -> Self
[src]
pub fn new(stats: ST) -> Self
[src]Creates a new SimpleEventManager
.
Trait Implementations
impl<I: Clone, S: Clone, ST: Clone> Clone for SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]
impl<I: Clone, S: Clone, ST: Clone> Clone for SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]fn clone(&self) -> SimpleEventManager<I, S, ST>
[src]
fn clone(&self) -> SimpleEventManager<I, S, ST>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<I: Debug, S: Debug, ST: Debug> Debug for SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]
impl<I: Debug, S: Debug, ST: Debug> Debug for SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]impl<I, S, ST> EventManager<I, S> for SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]
impl<I, S, ST> EventManager<I, S> for SimpleEventManager<I, S, ST> where
I: Input,
ST: Stats,
[src]fn process<CS, E, OT>(
&mut self,
state: &mut S,
_executor: &mut E,
_scheduler: &CS
) -> Result<usize, Error> where
CS: CorpusScheduler<I, S>,
E: Executor<I> + HasObservers<OT>,
OT: ObserversTuple,
[src]
fn process<CS, E, OT>(
&mut self,
state: &mut S,
_executor: &mut E,
_scheduler: &CS
) -> Result<usize, Error> where
CS: CorpusScheduler<I, S>,
E: Executor<I> + HasObservers<OT>,
OT: ObserversTuple,
[src]Fire an Event Lookup for incoming events and process them. Return the number of processes events or an error Read more
fn fire(&mut self, _state: &mut S, event: Event<I>) -> Result<(), Error>
[src]
fn fire(&mut self, _state: &mut S, event: Event<I>) -> Result<(), Error>
[src]Send off an event to the broker
fn serialize_observers<OT>(&mut self, observers: &OT) -> Result<Vec<u8>, Error> where
OT: ObserversTuple,
[src]
fn serialize_observers<OT>(&mut self, observers: &OT) -> Result<Vec<u8>, Error> where
OT: ObserversTuple,
[src]Serialize all observers for this type and manager
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple,
[src]
fn deserialize_observers<OT>(
&mut self,
observers_buf: &[u8]
) -> Result<OT, Error> where
OT: ObserversTuple,
[src]Deserialize all observers for this type and manager
fn on_restart(&mut self, _state: &mut S) -> Result<(), Error>
[src]
fn on_restart(&mut self, _state: &mut S) -> Result<(), Error>
[src]For restarting event managers, implement a way to forward state to their next peers.
fn await_restart_safe(&mut self)
[src]
fn await_restart_safe(&mut self)
[src]Block until we are safe to exit.
Auto Trait Implementations
impl<I, S, ST> RefUnwindSafe for SimpleEventManager<I, S, ST> where
I: RefUnwindSafe,
S: RefUnwindSafe,
ST: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<I, S, ST> Send for SimpleEventManager<I, S, ST> where
I: Send,
S: Send,
ST: Send,
I: Send,
S: Send,
ST: Send,
impl<I, S, ST> Sync for SimpleEventManager<I, S, ST> where
I: Sync,
S: Sync,
ST: Sync,
I: Sync,
S: Sync,
ST: Sync,
impl<I, S, ST> Unpin for SimpleEventManager<I, S, ST> where
I: Unpin,
S: Unpin,
ST: Unpin,
I: Unpin,
S: Unpin,
ST: Unpin,
impl<I, S, ST> UnwindSafe for SimpleEventManager<I, S, ST> where
I: UnwindSafe,
S: UnwindSafe,
ST: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,
ST: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more