pub trait GraphAlgorithm {
// Required methods
fn execute(
&self,
graph: &ArrowGraph,
params: &AlgorithmParams,
) -> Result<RecordBatch>;
fn name(&self) -> &'static str;
// Provided method
fn description(&self) -> &'static str { ... }
}Required Methods§
fn execute( &self, graph: &ArrowGraph, params: &AlgorithmParams, ) -> Result<RecordBatch>
fn name(&self) -> &'static str
Provided Methods§
fn description(&self) -> &'static str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".