Skip to main content

boxed_run

Function boxed_run 

Source
pub fn boxed_run<K>(kernel: K) -> BoxedRun
where K: Kernel + Clone + Send + Sync + 'static, K::State: Send + Sync + Clone,
Expand description

Wraps a concrete Kernel into a BoxedRun.

The kernel is cloned for each search so the boxed closure can be reused.