pub trait VectorSearchFeaturesDyn:
Send
+ Sync
+ 'static {
// Required methods
fn top_n(
&self,
namespace: Path,
query: String,
n: usize,
) -> BoxPinFut<Result<Vec<String>, BoxError>>;
fn top_n_ids(
&self,
namespace: Path,
query: String,
n: usize,
) -> BoxPinFut<Result<Vec<String>, BoxError>>;
}Expand description
Object-safe vector search interface.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".