pub enum RetrievalError {
Core(Error),
Vector(VectorError),
Text(TextError),
}Expand description
Structured errors representing all hybrid retrieval faults.
Variants§
Trait Implementations§
Source§impl Debug for RetrievalError
impl Debug for RetrievalError
Source§impl Display for RetrievalError
impl Display for RetrievalError
Source§impl Error for RetrievalError
impl Error for RetrievalError
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 From<Error> for RetrievalError
impl From<Error> for RetrievalError
Source§impl From<TextError> for RetrievalError
impl From<TextError> for RetrievalError
Source§impl From<VectorError> for RetrievalError
impl From<VectorError> for RetrievalError
Source§fn from(source: VectorError) -> Self
fn from(source: VectorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RetrievalError
impl !UnwindSafe for RetrievalError
impl Freeze for RetrievalError
impl Send for RetrievalError
impl Sync for RetrievalError
impl Unpin for RetrievalError
impl UnsafeUnpin for RetrievalError
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