pub enum DebugEvent {
Show 13 variants
GraphStart {
thread_id: String,
input: Value,
},
SuperstepStart {
step: usize,
pending_nodes: Vec<String>,
},
SuperstepEnd {
step: usize,
duration_ms: u64,
},
NodeStart {
node: String,
step: usize,
},
NodeEnd {
node: String,
step: usize,
duration_ms: u64,
output_type: String,
},
NodeError {
node: String,
step: usize,
error: String,
},
ChannelWrite {
channel: String,
node: String,
value_summary: String,
},
ChannelUpdate {
channel: String,
new_version: u64,
},
Merge {
step: usize,
channels_updated: Vec<String>,
},
EdgeTraversed {
from: String,
to: String,
edge_type: String,
},
CheckpointSaved {
checkpoint_id: String,
step: usize,
source: String,
},
BudgetCheck {
tokens_used: u64,
cost_usd: f64,
budget_remaining_pct: f32,
},
GraphEnd {
total_steps: usize,
total_duration_ms: u64,
},
}Expand description
Debug event details
Variants§
GraphStart
Graph execution started
SuperstepStart
Superstep started
SuperstepEnd
Superstep ended (extra variant for enhanced debug visibility)
NodeStart
Node execution started
NodeEnd
Node execution completed
NodeError
Node execution failed
ChannelWrite
Channel write operation
ChannelUpdate
Channel version updated
Merge
State merge completed
EdgeTraversed
Edge traversed during routing
CheckpointSaved
Checkpoint saved
BudgetCheck
Budget check performed
GraphEnd
Graph execution completed
Trait Implementations§
Source§impl Clone for DebugEvent
impl Clone for DebugEvent
Source§fn clone(&self) -> DebugEvent
fn clone(&self) -> DebugEvent
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 moreSource§impl Debug for DebugEvent
impl Debug for DebugEvent
Source§impl Serialize for DebugEvent
impl Serialize for DebugEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DebugEvent
impl RefUnwindSafe for DebugEvent
impl Send for DebugEvent
impl Sync for DebugEvent
impl Unpin for DebugEvent
impl UnsafeUnpin for DebugEvent
impl UnwindSafe for DebugEvent
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