pub enum RouteLayerBuilderError {
MissingEmbedder,
MissingLLM,
MissingIndex,
RouteLayerError(RouteLayerError),
IndexError(IndexError),
EmbeddingError(EmbedderError),
ChainError(ChainError),
}
Variants§
MissingEmbedder
MissingLLM
MissingIndex
RouteLayerError(RouteLayerError)
IndexError(IndexError)
EmbeddingError(EmbedderError)
ChainError(ChainError)
Trait Implementations§
source§impl Debug for RouteLayerBuilderError
impl Debug for RouteLayerBuilderError
source§impl Display for RouteLayerBuilderError
impl Display for RouteLayerBuilderError
source§impl Error for RouteLayerBuilderError
impl Error for RouteLayerBuilderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ChainError> for RouteLayerBuilderError
impl From<ChainError> for RouteLayerBuilderError
source§fn from(source: ChainError) -> Self
fn from(source: ChainError) -> Self
Converts to this type from the input type.
source§impl From<EmbedderError> for RouteLayerBuilderError
impl From<EmbedderError> for RouteLayerBuilderError
source§fn from(source: EmbedderError) -> Self
fn from(source: EmbedderError) -> Self
Converts to this type from the input type.
source§impl From<IndexError> for RouteLayerBuilderError
impl From<IndexError> for RouteLayerBuilderError
source§fn from(source: IndexError) -> Self
fn from(source: IndexError) -> Self
Converts to this type from the input type.
source§impl From<RouteLayerError> for RouteLayerBuilderError
impl From<RouteLayerError> for RouteLayerBuilderError
source§fn from(source: RouteLayerError) -> Self
fn from(source: RouteLayerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RouteLayerBuilderError
impl !RefUnwindSafe for RouteLayerBuilderError
impl Send for RouteLayerBuilderError
impl Sync for RouteLayerBuilderError
impl Unpin for RouteLayerBuilderError
impl !UnwindSafe for RouteLayerBuilderError
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