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§
fn control(&self) -> &StorageReadControl
fn record( &self, field: &str, operation: VectorSearchOperation, result: &VectorQueryResult, ) -> StorageBackendResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".