Enum risc0_zkvm::prove::TraceEvent
source · #[non_exhaustive]
pub enum TraceEvent {
InstructionStart {
cycle: u32,
pc: u32,
},
RegisterSet {
reg: usize,
value: u32,
},
MemorySet {
addr: u32,
value: u32,
},
}
Expand description
An event traced from the running VM.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InstructionStart
Fields
An instruction has started at the given program counter
RegisterSet
A register has been set
MemorySet
A memory location has been written
Trait Implementations§
source§impl Debug for TraceEvent
impl Debug for TraceEvent
source§impl PartialEq<TraceEvent> for TraceEvent
impl PartialEq<TraceEvent> for TraceEvent
source§fn eq(&self, other: &TraceEvent) -> bool
fn eq(&self, other: &TraceEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.