pub trait RemovableScheduler<I, S> {
// Provided methods
fn on_remove(
&mut self,
_state: &mut S,
_id: CorpusId,
_testcase: &Option<Testcase<I>>,
) -> Result<(), Error> { ... }
fn on_replace(
&mut self,
_state: &mut S,
_id: CorpusId,
_prev: &Testcase<I>,
) -> Result<(), Error> { ... }
}
Expand description
The scheduler also implements on_remove
and on_replace
if it implements this stage.