pub struct VmRunOptions {
pub max_instructions: Option<usize>,
}Expand description
One set of optional execution controls for a VM run.
Fields§
§max_instructions: Option<usize>Maximum number of instructions that may execute before the VM aborts with an error.
Trait Implementations§
Source§impl Clone for VmRunOptions
impl Clone for VmRunOptions
Source§fn clone(&self) -> VmRunOptions
fn clone(&self) -> VmRunOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VmRunOptions
impl Debug for VmRunOptions
Source§impl Default for VmRunOptions
impl Default for VmRunOptions
Source§fn default() -> VmRunOptions
fn default() -> VmRunOptions
Returns the “default value” for a type. Read more
impl Copy for VmRunOptions
Auto Trait Implementations§
impl Freeze for VmRunOptions
impl RefUnwindSafe for VmRunOptions
impl Send for VmRunOptions
impl Sync for VmRunOptions
impl Unpin for VmRunOptions
impl UnsafeUnpin for VmRunOptions
impl UnwindSafe for VmRunOptions
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