pub enum VectorStoreToolError<V, E>{
YamlError(Error),
VectorStoreError(V),
Embeddings(E),
}
Variants§
Trait Implementations§
Source§impl<V, E> Debug for VectorStoreToolError<V, E>
impl<V, E> Debug for VectorStoreToolError<V, E>
Source§impl<V, E> Display for VectorStoreToolError<V, E>
impl<V, E> Display for VectorStoreToolError<V, E>
Source§impl<V, E> Error for VectorStoreToolError<V, E>where
V: Debug + Error + VectorStoreError,
E: Debug + Error + EmbeddingsError,
Self: Debug + Display,
impl<V, E> Error for VectorStoreToolError<V, E>where
V: Debug + Error + VectorStoreError,
E: Debug + Error + EmbeddingsError,
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<V, E> From<Error> for VectorStoreToolError<V, E>
impl<V, E> From<Error> for VectorStoreToolError<V, E>
Source§impl<V, E> From<V> for VectorStoreToolError<V, E>
impl<V, E> From<V> for VectorStoreToolError<V, E>
impl<V, E> ToolError for VectorStoreToolError<V, E>
Auto Trait Implementations§
impl<V, E> Freeze for VectorStoreToolError<V, E>
impl<V, E> !RefUnwindSafe for VectorStoreToolError<V, E>
impl<V, E> Send for VectorStoreToolError<V, E>
impl<V, E> Sync for VectorStoreToolError<V, E>
impl<V, E> Unpin for VectorStoreToolError<V, E>
impl<V, E> !UnwindSafe for VectorStoreToolError<V, E>
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