pub struct Limits {
pub max_steps: u64,
pub max_duration_ms: Option<u64>,
pub max_depth: u32,
pub default_node_timeout_ms: Option<u64>,
pub max_concurrency: usize,
}Expand description
Resource limits for a run.
Fields§
§max_steps: u64Maximum node executions (including retries and container bodies). Default 10 000.
max_duration_ms: Option<u64>Wall-clock budget for the whole run. Enforced only with a timer-capable clock.
max_depth: u32Maximum container nesting depth. Default 8.
default_node_timeout_ms: Option<u64>Timeout applied to nodes without their own timeout_ms.
max_concurrency: usizeMaximum nodes executing concurrently within one frame. Default 64.
Trait Implementations§
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Forget for Limits
impl Freeze for Limits
impl Move for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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