pub struct ReplanBudget {
pub max_step_retries: u32,
pub max_replans: u32,
}Expand description
Bounds on recovery effort, so a stuck agent can’t loop forever.
Fields§
§max_step_retries: u32Max retries of a single step before it escalates to a replan.
max_replans: u32Max whole-plan revisions before giving up.
Trait Implementations§
Source§impl Clone for ReplanBudget
impl Clone for ReplanBudget
Source§fn clone(&self) -> ReplanBudget
fn clone(&self) -> ReplanBudget
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 moreimpl Copy for ReplanBudget
Source§impl Debug for ReplanBudget
impl Debug for ReplanBudget
Auto Trait Implementations§
impl Freeze for ReplanBudget
impl RefUnwindSafe for ReplanBudget
impl Send for ReplanBudget
impl Sync for ReplanBudget
impl Unpin for ReplanBudget
impl UnsafeUnpin for ReplanBudget
impl UnwindSafe for ReplanBudget
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