pub struct RetryAndReflectConfig {
pub max_retries: i32,
pub error_if_retry_exceeded: bool,
pub tracking_scope: TrackingScope,
}Expand description
The options of the retry-and-reflect plugin.
Fields§
§max_retries: i32Consecutive failures of one tool that still get reflection guidance; must be >= 0.
error_if_retry_exceeded: boolPast the limit, return the original tool error instead of the “retry exceeded” result.
tracking_scope: TrackingScopeThe scope the failures are counted in.
Trait Implementations§
Source§impl Clone for RetryAndReflectConfig
impl Clone for RetryAndReflectConfig
Source§impl Debug for RetryAndReflectConfig
impl Debug for RetryAndReflectConfig
Auto Trait Implementations§
impl Forget for RetryAndReflectConfig
impl Freeze for RetryAndReflectConfig
impl Move for RetryAndReflectConfig
impl RefUnwindSafe for RetryAndReflectConfig
impl Send for RetryAndReflectConfig
impl Sync for RetryAndReflectConfig
impl Unpin for RetryAndReflectConfig
impl UnsafeUnpin for RetryAndReflectConfig
impl UnwindSafe for RetryAndReflectConfig
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