Enum EmbeddingIndexKind
pub enum EmbeddingIndexKind {
Flat,
Hnsw,
Ivf,
Pq,
IvfPq,
Annoy,
Scann,
Other,
}Variants§
Implementations§
§impl EmbeddingIndexKind
impl EmbeddingIndexKind
Trait Implementations§
§impl Clone for EmbeddingIndexKind
impl Clone for EmbeddingIndexKind
§fn clone(&self) -> EmbeddingIndexKind
fn clone(&self) -> EmbeddingIndexKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EmbeddingIndexKind
impl Debug for EmbeddingIndexKind
§impl Display for EmbeddingIndexKind
impl Display for EmbeddingIndexKind
§impl FromStr for EmbeddingIndexKind
impl FromStr for EmbeddingIndexKind
§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<EmbeddingIndexKind, <EmbeddingIndexKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EmbeddingIndexKind, <EmbeddingIndexKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for EmbeddingIndexKind
impl Hash for EmbeddingIndexKind
§impl Ord for EmbeddingIndexKind
impl Ord for EmbeddingIndexKind
§fn cmp(&self, other: &EmbeddingIndexKind) -> Ordering
fn cmp(&self, other: &EmbeddingIndexKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for EmbeddingIndexKind
impl PartialEq for EmbeddingIndexKind
§impl PartialOrd for EmbeddingIndexKind
impl PartialOrd for EmbeddingIndexKind
impl Copy for EmbeddingIndexKind
impl Eq for EmbeddingIndexKind
impl StructuralPartialEq for EmbeddingIndexKind
Auto Trait Implementations§
impl Freeze for EmbeddingIndexKind
impl RefUnwindSafe for EmbeddingIndexKind
impl Send for EmbeddingIndexKind
impl Sync for EmbeddingIndexKind
impl Unpin for EmbeddingIndexKind
impl UnsafeUnpin for EmbeddingIndexKind
impl UnwindSafe for EmbeddingIndexKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more