pub enum BreakpointValue {
None = 0,
OutOfGas = 1,
MemoryLimit = 2,
}Variants§
None = 0
Lack of a breakpoint
OutOfGas = 1
Stopping due to gas being exhausted.
MemoryLimit = 2
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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BreakpointValue
Source§impl Debug for BreakpointValue
impl Debug for BreakpointValue
impl Eq for BreakpointValue
Source§impl PartialEq for BreakpointValue
impl PartialEq for BreakpointValue
Source§fn eq(&self, other: &BreakpointValue) -> bool
fn eq(&self, other: &BreakpointValue) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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