pub trait RunKernel: Send + Sync {
// Required method
fn run<'g>(
&self,
graph: &'g Graph,
run: RunOptions,
) -> Result<SearchResult<'g>>;
}Expand description
Required Methods§
Sourcefn run<'g>(&self, graph: &'g Graph, run: RunOptions) -> Result<SearchResult<'g>>
fn run<'g>(&self, graph: &'g Graph, run: RunOptions) -> Result<SearchResult<'g>>
Runs the kernel against graph with run options.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".