Skip to main content

TraceSinkProtocol

Defined in the specialized module.
Rust AI Agent SDK Trace sink protocol trait

Methods

write

fn write(&self, event: &TraceEvent) -> ()
Write a trace event Parameters:
NameType
event&TraceEvent

flush

fn flush(&self) -> ()
Flush pending events

close

fn close(&self) -> ()
Close the sink

Source

View on GitHub

praisonai/src/parity/specialized.rs at line 0