pub trait GraphStore: Send + Sync {
// Required methods
fn commit_mutation_batch(
&self,
batch: GraphMutationBatch,
) -> StorageFuture<'_, CommitReceipt>;
fn inspect_graph(&self) -> StorageFuture<'_, GraphInspection>;
fn search(
&self,
request: GraphSearchRequest,
) -> StorageFuture<'_, Vec<RetrievalHit>>;
fn current_graph_version(&self) -> StorageFuture<'_, GraphVersion>;
// Provided method
fn graph_canvas(
&self,
_request: GraphCanvasStorageRequest,
) -> StorageFuture<'_, GraphCanvasStorageSnapshot> { ... }
}Expand description
Graph fact persistence and query contract.