Skip to main content

VectorSearchObserver

Trait VectorSearchObserver 

Source
pub trait VectorSearchObserver: Send + Sync {
    // Required methods
    fn control(&self) -> &StorageReadControl;
    fn record(
        &self,
        field: &str,
        operation: VectorSearchOperation,
        result: &VectorQueryResult,
    ) -> StorageBackendResult<()>;
}
Expand description

The owner binds the relation and retains the original invocation allowance.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§