pub struct RunnerRetryConfig {
pub max_attempts: Option<u32>,
pub base_backoff_ms: Option<u32>,
pub multiplier: Option<f64>,
pub max_backoff_ms: Option<u32>,
pub jitter_ratio: Option<f64>,
}Expand description
Runner retry/backoff configuration for transient failure handling.
Controls automatic retry behavior when runner invocations fail with
transient errors (rate limits, temporary unavailability, network issues).
Distinct from webhook retry settings (agent.webhook.retry_*).
Fields§
§max_attempts: Option<u32>Total attempts (including initial). Default: 3.
base_backoff_ms: Option<u32>Base backoff in milliseconds. Default: 1000.
multiplier: Option<f64>Exponential multiplier. Default: 2.0.
max_backoff_ms: Option<u32>Max backoff cap in milliseconds. Default: 30000.
jitter_ratio: Option<f64>Jitter ratio in [0,1]. Default: 0.2 (20% variance).
Implementations§
Source§impl RunnerRetryConfig
impl RunnerRetryConfig
Sourcepub fn merge_from(&mut self, other: Self)
pub fn merge_from(&mut self, other: Self)
Leaf-wise merge: other.Some overrides self, other.None preserves self
Trait Implementations§
Source§impl Clone for RunnerRetryConfig
impl Clone for RunnerRetryConfig
Source§fn clone(&self) -> RunnerRetryConfig
fn clone(&self) -> RunnerRetryConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RunnerRetryConfig
impl Debug for RunnerRetryConfig
Source§impl Default for RunnerRetryConfig
impl Default for RunnerRetryConfig
Source§fn default() -> RunnerRetryConfig
fn default() -> RunnerRetryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnerRetryConfigwhere
RunnerRetryConfig: Default,
impl<'de> Deserialize<'de> for RunnerRetryConfigwhere
RunnerRetryConfig: Default,
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 JsonSchema for RunnerRetryConfig
impl JsonSchema for RunnerRetryConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RunnerRetryConfig
impl RefUnwindSafe for RunnerRetryConfig
impl Send for RunnerRetryConfig
impl Sync for RunnerRetryConfig
impl Unpin for RunnerRetryConfig
impl UnsafeUnpin for RunnerRetryConfig
impl UnwindSafe for RunnerRetryConfig
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