impl RemovableScheduler for GenerationScheduler
This commit is contained in:
parent
0a6888d06a
commit
f1affaabff
@ -265,6 +265,31 @@ where
|
|||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<S> RemovableScheduler for GenerationScheduler<S>
|
||||||
|
where
|
||||||
|
S: State + HasCorpus + HasMetadata,
|
||||||
|
{
|
||||||
|
/// Replaces the testcase at the given idx
|
||||||
|
fn on_replace(
|
||||||
|
&mut self,
|
||||||
|
state: &mut <Self as UsesState>::State,
|
||||||
|
idx: CorpusId,
|
||||||
|
testcase: &Testcase<<<Self as UsesState>::State as UsesInput>::Input>,
|
||||||
|
) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Removes an entry from the corpus
|
||||||
|
fn on_remove(
|
||||||
|
&mut self,
|
||||||
|
state: &mut <Self as UsesState>::State,
|
||||||
|
idx: CorpusId,
|
||||||
|
testcase: &Option<Testcase<<<Self as UsesState>::State as UsesInput>::Input>>,
|
||||||
|
) -> Result<(), Error> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl<S> GenerationScheduler<S>
|
impl<S> GenerationScheduler<S>
|
||||||
{
|
{
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user