pub trait StateStoreReadVector: StaticSendSync {
// Required method
fn nearest<O: Send + 'static>(
&self,
vec: Vector,
options: VectorNearestOptions,
on_nearest_item_fn: impl OnNearestItemFn<O>,
) -> impl StorageFuture<'_, Vec<O>>;
}
Required Methods§
fn nearest<O: Send + 'static>( &self, vec: Vector, options: VectorNearestOptions, on_nearest_item_fn: impl OnNearestItemFn<O>, ) -> impl StorageFuture<'_, Vec<O>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.