Trait VectorStore

Source
pub trait VectorStore: 'static {
    type Accessor<'a>: VectorAccessor + 'a
       where Self: 'a;

    // Required method
    async fn get_vector(&self, idx: usize) -> HummockResult<Self::Accessor<'_>>;
}

Required Associated Types§

Source

type Accessor<'a>: VectorAccessor + 'a where Self: 'a

Required Methods§

Source

async fn get_vector(&self, idx: usize) -> HummockResult<Self::Accessor<'_>>

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§