pub struct CountedLoopConfig {
pub max_iterations: u32,
pub max_total_rounds: u32,
/* private fields */
}Expand description
Host-supplied bounds for one live generation. There is no implicit default. Clones share the stop signal. Stop drains an already admitted iteration’s current round/tool batch; it admits no subsequent round or iteration.
Fields§
§max_iterations: u32§max_total_rounds: u32Implementations§
Trait Implementations§
Source§impl Clone for CountedLoopConfig
impl Clone for CountedLoopConfig
Auto Trait Implementations§
impl !RefUnwindSafe for CountedLoopConfig
impl !UnwindSafe for CountedLoopConfig
impl Freeze for CountedLoopConfig
impl Send for CountedLoopConfig
impl Sync for CountedLoopConfig
impl Unpin for CountedLoopConfig
impl UnsafeUnpin for CountedLoopConfig
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