pub struct SimulationLimits {
pub max_particles: usize,
pub max_bytes: u64,
pub max_steps: u64,
pub max_work: u64,
pub max_sub_depth: u8,
pub max_births: u64,
pub max_events: usize,
}Expand description
Logical snapshot/replay allowances, not a process-wide RSS sandbox.
Fields§
§max_particles: usizeMaximum simultaneously living records.
max_bytes: u64Snapshot payload plus two worst-case working buffers.
max_steps: u64Maximum simulated fixed boundaries.
max_work: u64Maximum preparation or per-query particle/operator work.
max_sub_depth: u8Maximum event-triggered descendant depth, at most 32.
max_births: u64Maximum nonrecycled births during preparation/replay.
max_events: usizeMaximum events retained at one fixed boundary.
Trait Implementations§
Source§impl Clone for SimulationLimits
impl Clone for SimulationLimits
impl Copy for SimulationLimits
Source§impl Debug for SimulationLimits
impl Debug for SimulationLimits
Auto Trait Implementations§
impl Forget for SimulationLimits
impl Freeze for SimulationLimits
impl Move for SimulationLimits
impl RefUnwindSafe for SimulationLimits
impl Send for SimulationLimits
impl Sync for SimulationLimits
impl Unpin for SimulationLimits
impl UnsafeUnpin for SimulationLimits
impl UnwindSafe for SimulationLimits
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