pub enum BreakpointTarget {
Pc(u64),
SourceLine(SourceBreakpointTarget),
Function(String),
Storage(String),
State(String),
Revert,
Call(Option<String>),
Opcode(String),
}Expand description
What the user asked to break on, before it is resolved against the trace.
Variants§
Pc(u64)
SourceLine(SourceBreakpointTarget)
Function(String)
A function by name, optionally qualified as Contract.function.
Storage(String)
A write to one storage slot, given in decimal or hex.
State(String)
A write to a state variable, named the way print names it: counter,
balances[0xabc…], config.limit.
Revert
Any REVERT, or any step the backend marked as failing.
Call(Option<String>)
A call, to one address or to any.
Opcode(String)
Every execution of one opcode.
Trait Implementations§
Source§impl Clone for BreakpointTarget
impl Clone for BreakpointTarget
Source§impl Debug for BreakpointTarget
impl Debug for BreakpointTarget
impl Eq for BreakpointTarget
Source§impl PartialEq for BreakpointTarget
impl PartialEq for BreakpointTarget
impl StructuralPartialEq for BreakpointTarget
Auto Trait Implementations§
impl Freeze for BreakpointTarget
impl RefUnwindSafe for BreakpointTarget
impl Send for BreakpointTarget
impl Sync for BreakpointTarget
impl Unpin for BreakpointTarget
impl UnsafeUnpin for BreakpointTarget
impl UnwindSafe for BreakpointTarget
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