pub enum StreamAssemblyError {
ContentTypeMismatch {
content_index: usize,
},
ToolCallIdMismatch {
content_index: usize,
},
InvalidToolCallArguments {
tool_call_id: String,
source: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for StreamAssemblyError
impl Debug for StreamAssemblyError
Source§impl Display for StreamAssemblyError
impl Display for StreamAssemblyError
Source§impl Error for StreamAssemblyError
impl Error for StreamAssemblyError
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 From<StreamAssemblyError> for AgentError
impl From<StreamAssemblyError> for AgentError
Source§fn from(source: StreamAssemblyError) -> Self
fn from(source: StreamAssemblyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamAssemblyError
impl PartialEq for StreamAssemblyError
Auto Trait Implementations§
impl Freeze for StreamAssemblyError
impl !RefUnwindSafe for StreamAssemblyError
impl Send for StreamAssemblyError
impl Sync for StreamAssemblyError
impl Unpin for StreamAssemblyError
impl UnsafeUnpin for StreamAssemblyError
impl !UnwindSafe for StreamAssemblyError
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