Crate rust_simple_stack_processor

Source

Structs§

StackMachine
The stack machine itself, holding state and trap handlers.
StackMachineState
Internal state of the stack machine.
TrapHandler
A trap handler that handles a specific trap id with a closure.

Enums§

GasLimit
Gas limit for execution: unlimited or limited to a number of steps.
Opcode
Opcodes supported by the stack machine.
StackMachineError
Errors that can occur during stack machine execution.
TrapHandled
Result of trap handling.

Traits§

HandleTrap
Trait for trap handlers implementing the Chain of Command pattern.