pub struct MemVectorExecutor<S: WriteSetApplicator> { /* private fields */ }Implementations§
Source§impl<S: WriteSetApplicator> MemVectorExecutor<S>
impl<S: WriteSetApplicator> MemVectorExecutor<S>
pub fn new( store: Arc<VectorStore>, tx_mgr: Arc<TxManager<S>>, hnsw: Arc<OnceLock<RwLock<Option<HnswIndex>>>>, ) -> Self
pub fn new_with_accountant( store: Arc<VectorStore>, tx_mgr: Arc<TxManager<S>>, hnsw: Arc<OnceLock<RwLock<Option<HnswIndex>>>>, accountant: Arc<MemoryAccountant>, ) -> Self
Trait Implementations§
Source§impl<S: WriteSetApplicator> VectorExecutor for MemVectorExecutor<S>
impl<S: WriteSetApplicator> VectorExecutor for MemVectorExecutor<S>
Auto Trait Implementations§
impl<S> Freeze for MemVectorExecutor<S>
impl<S> !RefUnwindSafe for MemVectorExecutor<S>
impl<S> Send for MemVectorExecutor<S>
impl<S> Sync for MemVectorExecutor<S>
impl<S> Unpin for MemVectorExecutor<S>
impl<S> UnsafeUnpin for MemVectorExecutor<S>
impl<S> !UnwindSafe for MemVectorExecutor<S>
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> 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