Skip to main content

load_graph_or_exact_scan

Function load_graph_or_exact_scan 

Source
pub fn load_graph_or_exact_scan<'a>(
    reader: &'a SegmentReader,
    exact_request: ScanRequest<'_>,
    k: usize,
) -> Result<GraphLoadOutcome<'a>, GraphQueryError>
Expand description

Loads a graph for a query, or loudly returns its typed error with exact results.

This is the single sanctioned recovery path for a corrupt derived accelerator. No other segment contract is downgraded to best-effort behavior.