pub enum Kind {
Metadata,
ChatRequest,
ChatResponse,
ToolCall,
ToolResult,
Error,
ReplaySummary,
Chunk,
HarnessEvent,
BlobRef,
}Expand description
Record kind discriminator (SPEC §4).
Serializes as lowercase snake_case to match the JSON wire format.
Variants§
Metadata
Trace-level metadata; always first record, parent: null (SPEC §4.5).
ChatRequest
Request sent to an LLM (SPEC §4.1).
ChatResponse
Response from an LLM (SPEC §4.2).
ToolCall
Agent-side tool dispatch (SPEC §4.3).
ToolResult
Tool execution result (SPEC §4.4).
Error
Error event (SPEC §4.6).
ReplaySummary
End-of-replay summary (SPEC §4.7).
Chunk
Single streaming-LLM chunk (SPEC §4.8, v0.2).
HarnessEvent
Framework-level harness event (SPEC §4.9, v0.2).
BlobRef
Content-addressed blob reference (SPEC §4.10, v0.2).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kind
impl<'de> Deserialize<'de> for Kind
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
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.