pub enum BreakpointValueLegacy {
None = 0,
ExecutionFailed = 1,
AsyncCall = 2,
SignalError = 3,
OutOfGas = 4,
MemoryLimit = 5,
}Expand description
Represents the reason why execution of a WASM instance was interrupted.
Used by the legacy executor interface to communicate breakpoint causes between the WASM runtime and the high-level VM.
TODO: move to wasmer-prod, and hide it from the VM implementation.
Variants§
None = 0
Lack of a breakpoint
ExecutionFailed = 1
Failure indicated by the high-level VM (in the VMHooks).
AsyncCall = 2
Stopping execution due to an async call.
SignalError = 3
Stopping due to an error signalled by the contract.
OutOfGas = 4
Stopping due to gas being exhausted.
MemoryLimit = 5
Stopping due to over-allocation of WASM memory.
Implementations§
Trait Implementations§
Source§impl Clone for BreakpointValueLegacy
impl Clone for BreakpointValueLegacy
impl Copy for BreakpointValueLegacy
Source§impl Debug for BreakpointValueLegacy
impl Debug for BreakpointValueLegacy
impl Eq for BreakpointValueLegacy
Source§impl PartialEq for BreakpointValueLegacy
impl PartialEq for BreakpointValueLegacy
impl StructuralPartialEq for BreakpointValueLegacy
Auto Trait Implementations§
impl Freeze for BreakpointValueLegacy
impl RefUnwindSafe for BreakpointValueLegacy
impl Send for BreakpointValueLegacy
impl Sync for BreakpointValueLegacy
impl Unpin for BreakpointValueLegacy
impl UnsafeUnpin for BreakpointValueLegacy
impl UnwindSafe for BreakpointValueLegacy
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