Enum llm_chain::tools::tools::BashToolError
source · pub enum BashToolError {
YamlError(Error),
IOError(Error),
OutputStatusCodeOverflow(TryFromIntError),
ProcessTerminatedBySignal,
FromUtf8Error(FromUtf8Error),
}Variants§
YamlError(Error)
IOError(Error)
OutputStatusCodeOverflow(TryFromIntError)
ProcessTerminatedBySignal
FromUtf8Error(FromUtf8Error)
Trait Implementations§
source§impl Debug for BashToolError
impl Debug for BashToolError
source§impl Display for BashToolError
impl Display for BashToolError
source§impl Error for BashToolError
impl Error for BashToolError
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<Error> for BashToolError
impl From<Error> for BashToolError
source§impl From<Error> for BashToolError
impl From<Error> for BashToolError
source§impl From<FromUtf8Error> for BashToolError
impl From<FromUtf8Error> for BashToolError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for BashToolError
impl From<TryFromIntError> for BashToolError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
impl ToolError for BashToolError
Auto Trait Implementations§
impl !RefUnwindSafe for BashToolError
impl Send for BashToolError
impl Sync for BashToolError
impl Unpin for BashToolError
impl !UnwindSafe for BashToolError
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