pub enum BreakpointValue {
None,
ExecutionFailed,
AsyncCall,
SignalError,
OutOfGas,
MemoryLimit,
}Variants§
None
Lack of a breakpoint
ExecutionFailed
Failure indicated by the high-level VM (in the VMHooks).
AsyncCall
Stopping execution due to an async call.
SignalError
Stopping due to an error signalled by the contract.
OutOfGas
Stopping due to gas being exhausted.
MemoryLimit
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<BreakpointValue> for BreakpointValue
impl PartialEq<BreakpointValue> for BreakpointValue
source§fn eq(&self, other: &BreakpointValue) -> bool
fn eq(&self, other: &BreakpointValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u64> for BreakpointValue
impl TryFrom<u64> for BreakpointValue
impl Copy for BreakpointValue
impl Eq for BreakpointValue
impl StructuralEq for BreakpointValue
impl StructuralPartialEq for BreakpointValue
Auto Trait Implementations§
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