pub struct RemoteGraphStore { /* private fields */ }Implementations§
Source§impl RemoteGraphStore
impl RemoteGraphStore
pub async fn connect(config: RemoteGraphStoreConfig) -> VecGraphResult<Self>
pub async fn connect_lazy( config: RemoteGraphStoreConfig, ) -> VecGraphResult<Self>
Trait Implementations§
Source§impl Clone for RemoteGraphStore
impl Clone for RemoteGraphStore
Source§fn clone(&self) -> RemoteGraphStore
fn clone(&self) -> RemoteGraphStore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl GraphStore for RemoteGraphStore
impl GraphStore for RemoteGraphStore
fn insert_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 Node,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn insert_node_with_vector<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 NodeWithVector,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 NodeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Option<Node>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_node_vector<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 NodeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Option<Vec<f32>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node: &'life1 NodeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn insert_edge<'life0, 'life1, 'async_trait>(
&'life0 self,
edge: &'life1 Edge,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn insert_edge_with_vector<'life0, 'life1, 'async_trait>(
&'life0 self,
edge: &'life1 EdgeWithVector,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_edge<'life0, 'life1, 'async_trait>(
&'life0 self,
edge: &'life1 EdgeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Option<Edge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_edges_for_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node_id: &'life1 NodeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Vec<Edge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_edges_targeting_node<'life0, 'life1, 'async_trait>(
&'life0 self,
node_id: &'life1 NodeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Vec<Edge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_edge<'life0, 'life1, 'async_trait>(
&'life0 self,
edge: &'life1 EdgeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_edge_vector<'life0, 'life1, 'async_trait>(
&'life0 self,
edge: &'life1 EdgeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Option<Vec<f32>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn set_name_mapping<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
kind: &'life1 str,
name: &'life2 str,
node_id: &'life3 NodeId,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get_name_mapping<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
kind: &'life1 str,
name: &'life2 str,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Option<NodeId>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_name_mapping<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
kind: &'life1 str,
name: &'life2 str,
) -> Pin<Box<dyn Future<Output = VecGraphResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 SearchQuery,
) -> Pin<Box<dyn Future<Output = VecGraphResult<Vec<SearchResult>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn insert_nodes_with_vector<'life0, 'life1, 'async_trait>(
&'life0 self,
nodes: &'life1 [NodeWithVector],
) -> Pin<Box<dyn Future<Output = Result<(), VecGraphError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn insert_edges_with_vector<'life0, 'life1, 'async_trait>(
&'life0 self,
edges: &'life1 [EdgeWithVector],
) -> Pin<Box<dyn Future<Output = Result<(), VecGraphError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl !Freeze for RemoteGraphStore
impl !RefUnwindSafe for RemoteGraphStore
impl Send for RemoteGraphStore
impl Sync for RemoteGraphStore
impl Unpin for RemoteGraphStore
impl UnsafeUnpin for RemoteGraphStore
impl !UnwindSafe for RemoteGraphStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request