pub enum VectorIndexError {
NotConfigured,
InvalidInput(String),
Operation(String),
}Expand description
Vector-index failures. Provider-text variants are scrubbed in Display
(issue #235); Debug stays raw for tests.
Variants§
NotConfigured
No vector index is wired — the venture did not provide one.
InvalidInput(String)
The request was malformed before any provider saw it. Not retryable.
Operation(String)
The call failed against the provider (or on the way to it).
Trait Implementations§
Source§impl Clone for VectorIndexError
impl Clone for VectorIndexError
Source§impl Debug for VectorIndexError
impl Debug for VectorIndexError
Source§impl Display for VectorIndexError
impl Display for VectorIndexError
impl Eq for VectorIndexError
Source§impl Error for VectorIndexError
impl Error for VectorIndexError
1.30.0 · 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 PartialEq for VectorIndexError
impl PartialEq for VectorIndexError
impl StructuralPartialEq for VectorIndexError
Auto Trait Implementations§
impl Freeze for VectorIndexError
impl RefUnwindSafe for VectorIndexError
impl Send for VectorIndexError
impl Sync for VectorIndexError
impl Unpin for VectorIndexError
impl UnsafeUnpin for VectorIndexError
impl UnwindSafe for VectorIndexError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.