pub struct InvalidToolInputDetails {
pub tool_name: ToolName,
pub tool_input: String,
pub cause: BoxError,
}Expand description
Payload of Error::InvalidToolInput.
Fields§
§tool_name: ToolNameThe tool.
tool_input: StringThe raw input text.
cause: BoxErrorThe parse or validation error.
Trait Implementations§
Source§impl Debug for InvalidToolInputDetails
impl Debug for InvalidToolInputDetails
Source§impl Display for InvalidToolInputDetails
impl Display for InvalidToolInputDetails
Source§impl Error for InvalidToolInputDetails
impl Error for InvalidToolInputDetails
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()
Auto Trait Implementations§
impl !RefUnwindSafe for InvalidToolInputDetails
impl !UnwindSafe for InvalidToolInputDetails
impl Freeze for InvalidToolInputDetails
impl Send for InvalidToolInputDetails
impl Sync for InvalidToolInputDetails
impl Unpin for InvalidToolInputDetails
impl UnsafeUnpin for InvalidToolInputDetails
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