Struct libafl::feedbacks::TimeoutFeedback
source · [−]pub struct TimeoutFeedback {}
Expand description
A TimeoutFeedback
reduces the timeout value of a run.
Implementations
sourceimpl TimeoutFeedback
impl TimeoutFeedback
sourcepub fn new() -> Self
pub fn new() -> Self
Returns a new TimeoutFeedback
.
Trait Implementations
sourceimpl Clone for TimeoutFeedback
impl Clone for TimeoutFeedback
sourcefn clone(&self) -> TimeoutFeedback
fn clone(&self) -> TimeoutFeedback
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TimeoutFeedback
impl Debug for TimeoutFeedback
sourceimpl Default for TimeoutFeedback
impl Default for TimeoutFeedback
sourceimpl<'de> Deserialize<'de> for TimeoutFeedback
impl<'de> Deserialize<'de> for TimeoutFeedback
sourcefn 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
sourceimpl<I, S> Feedback<I, S> for TimeoutFeedback where
I: Input,
S: HasClientPerfMonitor,
impl<I, S> Feedback<I, S> for TimeoutFeedback where
I: Input,
S: HasClientPerfMonitor,
sourcefn is_interesting<EM, OT>(
&mut self,
_state: &mut S,
_manager: &mut EM,
_input: &I,
_observers: &OT,
exit_kind: &ExitKind
) -> Result<bool, Error> where
EM: EventFirer<I>,
OT: ObserversTuple<I, S>,
fn is_interesting<EM, OT>(
&mut self,
_state: &mut S,
_manager: &mut EM,
_input: &I,
_observers: &OT,
exit_kind: &ExitKind
) -> Result<bool, Error> where
EM: EventFirer<I>,
OT: ObserversTuple<I, S>,
is_interesting
return if an input is worth the addition to the corpus
sourcefn init_state(&mut self, _state: &mut S) -> Result<(), Error>
fn init_state(&mut self, _state: &mut S) -> Result<(), Error>
Initializes the feedback state.
This method is called after that the State
is created. Read more
sourceimpl Serialize for TimeoutFeedback
impl Serialize for TimeoutFeedback
Auto Trait Implementations
impl RefUnwindSafe for TimeoutFeedback
impl Send for TimeoutFeedback
impl Sync for TimeoutFeedback
impl Unpin for TimeoutFeedback
impl UnwindSafe for TimeoutFeedback
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.