pub struct Machine { /* private fields */ }
Expand description

Core execution layer for EVM.

Implementations

Reference of machine stack.

Mutable reference of machine stack.

Reference of machine memory.

Mutable reference of machine memory.

Return a reference of the program counter.

Create a new machine with given code and data.

Explicit exit of the machine. Further step will return error.

Inspect the machine’s next opcode and current stack.

Copy and get the return value of the machine, if any.

Loop stepping the machine, until it stops.

Step the machine, executing one opcode. It then returns.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.