Enum zksync_vm2::ExecutionEnd
source · pub enum ExecutionEnd {
ProgramFinished(Vec<u8>),
Reverted(Vec<u8>),
Panicked,
SuspendedOnHook(u32),
StoppedByTracer,
}
Expand description
VM stop reason returned from VirtualMachine::run()
.
Variants§
ProgramFinished(Vec<u8>)
The executed program has finished and returned the specified data.
Reverted(Vec<u8>)
The executed program has reverted returning the specified data.
Panicked
The executed program has panicked.
SuspendedOnHook(u32)
Returned when the bootloader writes to the heap location specified by hook_address
.
StoppedByTracer
One of the tracers decided it is time to stop the VM.
Trait Implementations§
source§impl Debug for ExecutionEnd
impl Debug for ExecutionEnd
source§impl PartialEq for ExecutionEnd
impl PartialEq for ExecutionEnd
impl StructuralPartialEq for ExecutionEnd
Auto Trait Implementations§
impl Freeze for ExecutionEnd
impl RefUnwindSafe for ExecutionEnd
impl Send for ExecutionEnd
impl Sync for ExecutionEnd
impl Unpin for ExecutionEnd
impl UnwindSafe for ExecutionEnd
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