Enum libafl::events::Event [−][src]
pub enum Event<I> where
I: Input, { NewTestcase { input: I, observers_buf: Vec<u8>, corpus_size: usize, client_config: String, time: Duration, executions: usize, }, UpdateStats { time: Duration, executions: usize, phantom: PhantomData<I>, }, Objective { objective_size: usize, }, Log { severity_level: LogSeverity, message: String, phantom: PhantomData<I>, }, }
Events sent around in the library
Variants
A fuzzer found a new testcase. Rejoice!
Show fields
Fields of NewTestcase
input: I
The input for the new testcase
observers_buf: Vec<u8>
The state of the observers when this testcase was found
corpus_size: usize
The new corpus size of this client
client_config: String
The client config for this observers/testcase combination
time: Duration
The time of generation of the event
executions: usize
The executions of this client
New stats.
Show fields
Fields of UpdateStats
time: Duration
The time of generation of the Event
executions: usize
The executions of this client
phantom: PhantomData<I>
A new objective was found
Show fields
Fields of Objective
objective_size: usize
Objective corpus size
Write a new log
Show fields
Fields of Log
severity_level: LogSeverity
the severity level
message: String
The message
phantom: PhantomData<I>
PhantomData
Trait Implementations
impl<'de, I> Deserialize<'de> for Event<I> where
I: Input,
I: DeserializeOwned,
[src]
impl<'de, I> Deserialize<'de> for Event<I> where
I: Input,
I: DeserializeOwned,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<I> RefUnwindSafe for Event<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for Event<I> where
I: Send,
I: Send,
impl<I> Sync for Event<I> where
I: Sync,
I: Sync,
impl<I> Unpin for Event<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for Event<I> where
I: UnwindSafe,
I: 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> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,