pub struct SubagentRetry {
pub agent_id: String,
pub attempt: u64,
pub max_retries: u64,
pub retry_delay_ms: u64,
pub error_status: Option<u16>,
pub error_category: String,
}Expand description
Retry state carried on a ToolProgressMessage while a subagent API
call is retried after an error.
Fields§
§agent_id: String§attempt: u64§max_retries: u64§retry_delay_ms: u64§error_status: Option<u16>§error_category: StringTrait Implementations§
Source§impl Clone for SubagentRetry
impl Clone for SubagentRetry
Source§fn clone(&self) -> SubagentRetry
fn clone(&self) -> SubagentRetry
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 SubagentRetry
impl Debug for SubagentRetry
Source§impl<'de> Deserialize<'de> for SubagentRetry
impl<'de> Deserialize<'de> for SubagentRetry
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
Auto Trait Implementations§
impl Freeze for SubagentRetry
impl RefUnwindSafe for SubagentRetry
impl Send for SubagentRetry
impl Sync for SubagentRetry
impl Unpin for SubagentRetry
impl UnsafeUnpin for SubagentRetry
impl UnwindSafe for SubagentRetry
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