pub struct BopLimits {
pub max_steps: u64,
pub max_memory: usize,
}Expand description
Resource limits enforced during execution.
Fields§
§max_steps: u64Max interpreter ticks (loop iterations, statements, etc.)
max_memory: usizeMax total tracked memory (bytes) for strings + arrays
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BopLimits
impl RefUnwindSafe for BopLimits
impl Send for BopLimits
impl Sync for BopLimits
impl Unpin for BopLimits
impl UnsafeUnpin for BopLimits
impl UnwindSafe for BopLimits
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