StateStoreReadVector

Trait StateStoreReadVector 

Source
pub trait StateStoreReadVector: StaticSendSync {
    // Required method
    fn nearest<'a, O: Send + 'a>(
        &'a self,
        vec: VectorRef<'a>,
        options: VectorNearestOptions,
        on_nearest_item_fn: impl OnNearestItemFn<'a, O>,
    ) -> impl StorageFuture<'a, Vec<O>>;
}

Required Methods§

Source

fn nearest<'a, O: Send + 'a>( &'a self, vec: VectorRef<'a>, options: VectorNearestOptions, on_nearest_item_fn: impl OnNearestItemFn<'a, O>, ) -> impl StorageFuture<'a, 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.

Implementors§