pub trait GraphStore: Send {
type Node: Send;
type Handle: Clone + Send;
// Required method
fn insert(
&mut self,
from_handle: Option<Self::Handle>,
node: GraphNode<Self::Node>,
) -> Option<(Self::Handle, &Self::Node)>;
}
Expand description
A graph store is a data structure that will be built up during a graph traversal. It is used to store the results of the traversal.