pub enum VmDebugEvent {
ProcessEventStart {
event_type: String,
context: Option<Value>,
},
ProcessEventEnd {
event_type: String,
mutations: usize,
warnings: Vec<String>,
},
HandlerStart {
entity_name: String,
event_type: String,
state_id: u32,
},
HandlerEnd {
entity_name: String,
event_type: String,
mutations: usize,
},
LoadEventField {
entity_name: String,
event_type: String,
path: Vec<String>,
value: Value,
},
ReadOrInitState {
entity_name: String,
event_type: String,
key: Value,
existing_state: Option<Value>,
loaded_state: Value,
skipped_reason: Option<String>,
},
LookupIndex {
entity_name: String,
event_type: String,
index_name: String,
lookup_value: Value,
hops: Vec<VmLookupHop>,
final_result: Value,
miss_kind: Option<String>,
},
FieldWrite {
entity_name: String,
event_type: String,
op: String,
path: String,
old_value: Option<Value>,
new_value: Option<Value>,
applied: bool,
reason: Option<String>,
},
EmitMutation {
entity_name: String,
event_type: String,
key: Value,
emitted: bool,
reason: Option<String>,
patch: Option<Value>,
dirty_fields: Vec<String>,
},
QueueAction {
entity_name: String,
event_type: String,
queue_kind: String,
lookup_value: String,
},
FlushAction {
entity_name: String,
event_type: String,
flush_kind: String,
trigger: String,
count: usize,
},
PdaReverseLookupUpdate {
entity_name: String,
event_type: String,
lookup_name: String,
pda_address: String,
primary_key: Value,
},
}Variants§
ProcessEventStart
ProcessEventEnd
HandlerStart
HandlerEnd
LoadEventField
ReadOrInitState
Fields
LookupIndex
Fields
§
hops: Vec<VmLookupHop>FieldWrite
Fields
EmitMutation
Fields
QueueAction
FlushAction
PdaReverseLookupUpdate
Trait Implementations§
Source§impl Clone for VmDebugEvent
impl Clone for VmDebugEvent
Source§fn clone(&self) -> VmDebugEvent
fn clone(&self) -> VmDebugEvent
Returns a duplicate 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 VmDebugEvent
impl Debug for VmDebugEvent
Source§impl<'de> Deserialize<'de> for VmDebugEvent
impl<'de> Deserialize<'de> for VmDebugEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VmDebugEvent
impl RefUnwindSafe for VmDebugEvent
impl Send for VmDebugEvent
impl Sync for VmDebugEvent
impl Unpin for VmDebugEvent
impl UnsafeUnpin for VmDebugEvent
impl UnwindSafe for VmDebugEvent
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