pub struct ReviewRepairBounds {
pub max_iterations: u32,
pub max_wall_clock_secs: u64,
pub max_tool_calls: u32,
}Expand description
Explicit ceilings on a review→repair loop. There is no unbounded variant.
Fields§
§max_iterations: u32Maximum review→repair iterations. 0 means the loop never starts.
max_wall_clock_secs: u64Maximum cumulative wall-clock seconds across all iterations.
max_tool_calls: u32Maximum cumulative tool calls across all iterations.
Implementations§
Source§impl ReviewRepairBounds
impl ReviewRepairBounds
Sourcepub fn conservative() -> Self
pub fn conservative() -> Self
Conservative defaults for an unattended loop: short, cheap, and easy to re-run by hand if it stops early.
Trait Implementations§
Source§impl Clone for ReviewRepairBounds
impl Clone for ReviewRepairBounds
Source§fn clone(&self) -> ReviewRepairBounds
fn clone(&self) -> ReviewRepairBounds
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 ReviewRepairBounds
Source§impl Debug for ReviewRepairBounds
impl Debug for ReviewRepairBounds
Source§impl Default for ReviewRepairBounds
impl Default for ReviewRepairBounds
Source§impl<'de> Deserialize<'de> for ReviewRepairBounds
impl<'de> Deserialize<'de> for ReviewRepairBounds
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
impl Eq for ReviewRepairBounds
Source§impl PartialEq for ReviewRepairBounds
impl PartialEq for ReviewRepairBounds
Source§impl Serialize for ReviewRepairBounds
impl Serialize for ReviewRepairBounds
impl StructuralPartialEq for ReviewRepairBounds
Auto Trait Implementations§
impl Freeze for ReviewRepairBounds
impl RefUnwindSafe for ReviewRepairBounds
impl Send for ReviewRepairBounds
impl Sync for ReviewRepairBounds
impl Unpin for ReviewRepairBounds
impl UnsafeUnpin for ReviewRepairBounds
impl UnwindSafe for ReviewRepairBounds
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