pub trait CustomSearchPhase<S>: Debug + Sendwhere
S: PlanningSolution,{
// Required method
fn solve<D, ProgressCb>(
&mut self,
solver_scope: &mut SolverScope<'_, S, D, ProgressCb>,
)
where D: Director<S>,
ProgressCb: ProgressCallback<S>;
// Provided method
fn phase_type_name(&self) -> &'static str { ... }
}Required Methods§
fn solve<D, ProgressCb>(
&mut self,
solver_scope: &mut SolverScope<'_, S, D, ProgressCb>,
)where
D: Director<S>,
ProgressCb: ProgressCallback<S>,
Provided Methods§
fn phase_type_name(&self) -> &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".