pub enum InteropError {
Malformed {
dialect: &'static str,
detail: String,
},
}Expand description
A framework payload could not be interpreted as tool calls.
Variants§
Malformed
The payload did not match the dialect’s expected wire shape.
Trait Implementations§
Source§impl Debug for InteropError
impl Debug for InteropError
Source§impl Display for InteropError
impl Display for InteropError
Source§impl Error for InteropError
impl Error for InteropError
1.30.0 · 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 Freeze for InteropError
impl RefUnwindSafe for InteropError
impl Send for InteropError
impl Sync for InteropError
impl Unpin for InteropError
impl UnsafeUnpin for InteropError
impl UnwindSafe for InteropError
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