pub enum ModelCallFailureSource {
TopLevel,
Subagent,
McpSampling,
Unknown,
}Expand description
Where the failed model call originated
Variants§
Trait Implementations§
Source§impl Clone for ModelCallFailureSource
impl Clone for ModelCallFailureSource
Source§fn clone(&self) -> ModelCallFailureSource
fn clone(&self) -> ModelCallFailureSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelCallFailureSource
impl Debug for ModelCallFailureSource
Source§impl<'de> Deserialize<'de> for ModelCallFailureSource
impl<'de> Deserialize<'de> for ModelCallFailureSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModelCallFailureSource
impl PartialEq for ModelCallFailureSource
Source§fn eq(&self, other: &ModelCallFailureSource) -> bool
fn eq(&self, other: &ModelCallFailureSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelCallFailureSource
impl Serialize for ModelCallFailureSource
impl Eq for ModelCallFailureSource
impl StructuralPartialEq for ModelCallFailureSource
Auto Trait Implementations§
impl Freeze for ModelCallFailureSource
impl RefUnwindSafe for ModelCallFailureSource
impl Send for ModelCallFailureSource
impl Sync for ModelCallFailureSource
impl Unpin for ModelCallFailureSource
impl UnsafeUnpin for ModelCallFailureSource
impl UnwindSafe for ModelCallFailureSource
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