pub enum BreakpointValue {
None = 0,
ExecutionFailed = 1,
AsyncCall = 2,
SignalError = 3,
OutOfGas = 4,
MemoryLimit = 5,
}
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 BreakpointValue
impl Clone for BreakpointValue
Source§fn clone(&self) -> BreakpointValue
fn clone(&self) -> BreakpointValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BreakpointValue
impl Debug for BreakpointValue
Source§impl PartialEq for BreakpointValue
impl PartialEq for BreakpointValue
Source§impl TryFrom<u64> for BreakpointValue
impl TryFrom<u64> for BreakpointValue
impl Copy for BreakpointValue
impl Eq for BreakpointValue
impl StructuralPartialEq for BreakpointValue
Auto Trait Implementations§
impl Freeze for BreakpointValue
impl RefUnwindSafe for BreakpointValue
impl Send for BreakpointValue
impl Sync for BreakpointValue
impl Unpin for BreakpointValue
impl UnwindSafe for BreakpointValue
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