pub struct RemoteVectorBackend { /* private fields */ }Expand description
VectorBackend impl backed by a subprocess plugin.
Implementations§
Trait Implementations§
Source§impl VectorBackend for RemoteVectorBackend
impl VectorBackend for RemoteVectorBackend
Source§fn name(&self) -> &str
fn name(&self) -> &str
Stable backend identifier matching the operator’s
agents.yaml.<id>.vector_backend = "<name>" selector
(consumer wiring lands in 81.26.b).fn upsert<'life0, 'life1, 'async_trait>(
&'life0 self,
collection: &'life1 str,
records: Vec<VectorRecord>,
) -> Pin<Box<dyn Future<Output = Result<UpsertAck>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
collection: &'life1 str,
query: VectorQuery,
) -> Pin<Box<dyn Future<Output = Result<Vec<VectorMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
collection: &'life1 str,
ids: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<DeleteAck>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteVectorBackend
impl !UnwindSafe for RemoteVectorBackend
impl Freeze for RemoteVectorBackend
impl Send for RemoteVectorBackend
impl Sync for RemoteVectorBackend
impl Unpin for RemoteVectorBackend
impl UnsafeUnpin for RemoteVectorBackend
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more