pub enum SelfAskWithSearchAgentError<T>{
ToolInputNotString(Value),
SearchToolError(T),
ExecutorError(ExecutorError),
ParserError(ParserError),
YamlError(Error),
StringTemplateError(StringTemplateError),
NoChoicesReturned,
RuntimeExceeded {
time_elapsed_seconds: f64,
iterations_elapsed: u32,
},
}
Variants§
ToolInputNotString(Value)
SearchToolError(T)
ExecutorError(ExecutorError)
ParserError(ParserError)
YamlError(Error)
StringTemplateError(StringTemplateError)
NoChoicesReturned
RuntimeExceeded
Trait Implementations§
Source§impl<T> Debug for SelfAskWithSearchAgentError<T>
impl<T> Debug for SelfAskWithSearchAgentError<T>
Source§impl<T> Display for SelfAskWithSearchAgentError<T>
impl<T> Display for SelfAskWithSearchAgentError<T>
Source§impl<T> Error for SelfAskWithSearchAgentError<T>
impl<T> Error for SelfAskWithSearchAgentError<T>
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<T> From<Error> for SelfAskWithSearchAgentError<T>
impl<T> From<Error> for SelfAskWithSearchAgentError<T>
Source§impl<T> From<ParserError> for SelfAskWithSearchAgentError<T>
impl<T> From<ParserError> for SelfAskWithSearchAgentError<T>
Source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
Converts to this type from the input type.
Source§impl<T> From<StringTemplateError> for SelfAskWithSearchAgentError<T>
impl<T> From<StringTemplateError> for SelfAskWithSearchAgentError<T>
Source§fn from(source: StringTemplateError) -> Self
fn from(source: StringTemplateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for SelfAskWithSearchAgentError<T>where
T: Freeze,
impl<T> !RefUnwindSafe for SelfAskWithSearchAgentError<T>
impl<T> Send for SelfAskWithSearchAgentError<T>where
T: Send,
impl<T> Sync for SelfAskWithSearchAgentError<T>where
T: Sync,
impl<T> Unpin for SelfAskWithSearchAgentError<T>where
T: Unpin,
impl<T> !UnwindSafe for SelfAskWithSearchAgentError<T>
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