pub trait GraphStore: Send + Sync {
// Required methods
fn index<'life0, 'life1, 'async_trait>(
&'life0 self,
facts: &'life1 Facts,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn traverse<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
facts: &'life1 Facts,
strategy: &'life2 RetrievalStrategy,
) -> Pin<Box<dyn Future<Output = Result<Vec<WeightedPassage>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn resolve_anchors(&self, facts: &Facts) -> Vec<SymbolicAnchor>;
}Required Methods§
fn index<'life0, 'life1, 'async_trait>(
&'life0 self,
facts: &'life1 Facts,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn traverse<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
facts: &'life1 Facts,
strategy: &'life2 RetrievalStrategy,
) -> Pin<Box<dyn Future<Output = Result<Vec<WeightedPassage>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn resolve_anchors(&self, facts: &Facts) -> Vec<SymbolicAnchor>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".