pub enum HnswVectorStoreError<E, D>{
EmbeddingsError(E),
DocumentStoreError(D),
RelatedDocumentNotFound(usize),
FileDumpError(String),
FileLoadError(String),
}
Variants§
EmbeddingsError(E)
DocumentStoreError(D)
RelatedDocumentNotFound(usize)
FileDumpError(String)
FileLoadError(String)
Trait Implementations§
Source§impl<E, D> Debug for HnswVectorStoreError<E, D>
impl<E, D> Debug for HnswVectorStoreError<E, D>
Source§impl<E, D> Display for HnswVectorStoreError<E, D>where
E: Debug + Error + EmbeddingsError + Display,
D: Debug + Error + DocumentStoreError + Display,
impl<E, D> Display for HnswVectorStoreError<E, D>where
E: Debug + Error + EmbeddingsError + Display,
D: Debug + Error + DocumentStoreError + Display,
Source§impl<E, D> Error for HnswVectorStoreError<E, D>where
E: Debug + Error + EmbeddingsError,
D: Debug + Error + DocumentStoreError,
Self: Debug + Display,
impl<E, D> Error for HnswVectorStoreError<E, D>where
E: Debug + Error + EmbeddingsError,
D: Debug + Error + DocumentStoreError,
Self: Debug + Display,
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<E, D> From<E> for HnswVectorStoreError<E, D>
impl<E, D> From<E> for HnswVectorStoreError<E, D>
impl<E, D> VectorStoreError for HnswVectorStoreError<E, D>
Auto Trait Implementations§
impl<E, D> Freeze for HnswVectorStoreError<E, D>
impl<E, D> RefUnwindSafe for HnswVectorStoreError<E, D>where
E: RefUnwindSafe,
D: RefUnwindSafe,
impl<E, D> Send for HnswVectorStoreError<E, D>
impl<E, D> Sync for HnswVectorStoreError<E, D>
impl<E, D> Unpin for HnswVectorStoreError<E, D>
impl<E, D> UnwindSafe for HnswVectorStoreError<E, D>where
E: UnwindSafe,
D: UnwindSafe,
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