pub struct Budget {
pub max_cycles: u32,
pub max_facts: u32,
}Expand description
Budget limits for execution.
Guarantees termination even with misbehaving agents.
Fields§
§max_cycles: u32Maximum execution cycles before forced termination.
max_facts: u32Maximum facts allowed in context.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Budget
impl RefUnwindSafe for Budget
impl Send for Budget
impl Sync for Budget
impl Unpin for Budget
impl UnwindSafe for Budget
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