pub enum Event<I>where
I: Input,{
NewTestcase {
input: I,
observers_buf: Option<Vec<u8>>,
exit_kind: ExitKind,
corpus_size: usize,
client_config: EventConfig,
time: Duration,
executions: usize,
},
UpdateExecStats {
time: Duration,
executions: usize,
phantom: PhantomData<I>,
},
UpdateUserStats {
name: String,
value: UserStats,
phantom: PhantomData<I>,
},
Objective {
objective_size: usize,
},
Log {
severity_level: LogSeverity,
message: String,
phantom: PhantomData<I>,
},
CustomBuf {
buf: Vec<u8>,
tag: String,
},
}
Expand description
Events sent around in the library
Variants§
NewTestcase
Fields
§
input: I
The input for the new testcase
§
client_config: EventConfig
The client config for this observers/testcase combination
A fuzzer found a new testcase. Rejoice!
UpdateExecStats
Fields
§
phantom: PhantomData<I>
New stats event to monitor.
UpdateUserStats
Fields
§
phantom: PhantomData<I>
New user stats event to monitor.
Objective
A new objective was found
Log
Write a new log
CustomBuf
Sends a custom buffer to other clients
Trait Implementations§
source§impl<'de, I> Deserialize<'de> for Event<I>where
I: Input + DeserializeOwned,
impl<'de, I> Deserialize<'de> for Event<I>where
I: Input + DeserializeOwned,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<I> RefUnwindSafe for Event<I>where
I: RefUnwindSafe,
impl<I> Send for Event<I>where
I: Send,
impl<I> Sync for Event<I>where
I: Sync,
impl<I> Unpin for Event<I>where
I: Unpin,
impl<I> UnwindSafe for Event<I>where
I: UnwindSafe,
Blanket Implementations§
source§impl<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.source§fn 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.