pub struct VmConfig {
pub max_gas: u64,
pub max_stack_items: usize,
pub max_push_bytes: usize,
pub max_script_len: usize,
}Fields§
§max_gas: u64§max_stack_items: usize§max_push_bytes: usize§max_script_len: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for VmConfig
impl RefUnwindSafe for VmConfig
impl Send for VmConfig
impl Sync for VmConfig
impl Unpin for VmConfig
impl UnsafeUnpin for VmConfig
impl UnwindSafe for VmConfig
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