Struct libafl::schedulers::queue::QueueScheduler
source · pub struct QueueScheduler<S> { /* private fields */ }
Expand description
Walk the corpus in a queue-like fashion
Implementations§
source§impl<S> QueueScheduler<S>
impl<S> QueueScheduler<S>
Trait Implementations§
source§impl<S: Clone> Clone for QueueScheduler<S>
impl<S: Clone> Clone for QueueScheduler<S>
source§fn clone(&self) -> QueueScheduler<S>
fn clone(&self) -> QueueScheduler<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<S: Debug> Debug for QueueScheduler<S>
impl<S: Debug> Debug for QueueScheduler<S>
source§impl<S> Default for QueueScheduler<S>
impl<S> Default for QueueScheduler<S>
source§impl<S> Scheduler for QueueScheduler<S>where
S: HasCorpus,
impl<S> Scheduler for QueueScheduler<S>where
S: HasCorpus,
source§fn next(&self, state: &mut Self::State) -> Result<CorpusId, Error>
fn next(&self, state: &mut Self::State) -> Result<CorpusId, Error>
Gets the next entry in the queue
source§fn on_add(&self, _state: &mut Self::State, _idx: CorpusId) -> Result<(), Error>
fn on_add(&self, _state: &mut Self::State, _idx: CorpusId) -> Result<(), Error>
Added an entry to the corpus at the given index
Auto Trait Implementations§
impl<S> RefUnwindSafe for QueueScheduler<S>where
S: RefUnwindSafe,
impl<S> Send for QueueScheduler<S>where
S: Send,
impl<S> Sync for QueueScheduler<S>where
S: Sync,
impl<S> Unpin for QueueScheduler<S>where
S: Unpin,
impl<S> UnwindSafe for QueueScheduler<S>where
S: 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.