pub struct Virt { /* private fields */ }Expand description
Native implementation of VirtT.
Trait Implementations§
Source§impl VirtT for Virt
impl VirtT for Virt
Source§fn instantiate(program: &[u8]) -> Result<Self, InstantiateError>
fn instantiate(program: &[u8]) -> Result<Self, InstantiateError>
Compile and instantiate the passed
program. Read moreSource§fn run(
&mut self,
gas_left: i64,
action: ExecAction<'_>,
) -> Result<ExecOutcome, ExecError>
fn run( &mut self, gas_left: i64, action: ExecAction<'_>, ) -> Result<ExecOutcome, ExecError>
Execute or resume a virtualization instance. Read more
Auto Trait Implementations§
impl Freeze for Virt
impl !RefUnwindSafe for Virt
impl !Send for Virt
impl !Sync for Virt
impl Unpin for Virt
impl UnsafeUnpin for Virt
impl !UnwindSafe for Virt
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