Struct libafl::schedulers::weighted::WeightedScheduler
source · [−]pub struct WeightedScheduler<F, I, S> { /* private fields */ }
Expand description
A corpus scheduler using power schedules with weighted queue item selection algo.
Implementations
sourceimpl<F, I, S> WeightedScheduler<F, I, S> where
F: TestcaseScore<I, S>,
I: Input,
S: HasCorpus<I> + HasMetadata + HasRand,
impl<F, I, S> WeightedScheduler<F, I, S> where
F: TestcaseScore<I, S>,
I: Input,
S: HasCorpus<I> + HasMetadata + HasRand,
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new WeightedScheduler
without any scheduling strategy
sourcepub fn with_schedule(strat: PowerSchedule) -> Self
pub fn with_schedule(strat: PowerSchedule) -> Self
Create a new WeightedScheduler
Trait Implementations
sourceimpl<F: Clone, I: Clone, S: Clone> Clone for WeightedScheduler<F, I, S>
impl<F: Clone, I: Clone, S: Clone> Clone for WeightedScheduler<F, I, S>
sourcefn clone(&self) -> WeightedScheduler<F, I, S>
fn clone(&self) -> WeightedScheduler<F, I, S>
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<F, I, S> Default for WeightedScheduler<F, I, S> where
F: TestcaseScore<I, S>,
I: Input,
S: HasCorpus<I> + HasMetadata + HasRand,
impl<F, I, S> Default for WeightedScheduler<F, I, S> where
F: TestcaseScore<I, S>,
I: Input,
S: HasCorpus<I> + HasMetadata + HasRand,
sourceimpl<F, I, S> Scheduler<I, S> for WeightedScheduler<F, I, S> where
F: TestcaseScore<I, S>,
S: HasCorpus<I> + HasMetadata + HasRand,
I: Input,
impl<F, I, S> Scheduler<I, S> for WeightedScheduler<F, I, S> where
F: TestcaseScore<I, S>,
S: HasCorpus<I> + HasMetadata + HasRand,
I: Input,
Auto Trait Implementations
impl<F, I, S> RefUnwindSafe for WeightedScheduler<F, I, S> where
F: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<F, I, S> Send for WeightedScheduler<F, I, S> where
F: Send,
I: Send,
S: Send,
impl<F, I, S> Sync for WeightedScheduler<F, I, S> where
F: Sync,
I: Sync,
S: Sync,
impl<F, I, S> Unpin for WeightedScheduler<F, I, S> where
F: Unpin,
I: Unpin,
S: Unpin,
impl<F, I, S> UnwindSafe for WeightedScheduler<F, I, S> where
F: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,
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.