Add Event • Rust AI Agent SDK
add_event: Add event to current span.
add_event
Method
</div>
This is a method of the TraceContext class in the trace module.
Add event to current span.
Signature
def add_event(&mut self, name: impl Into<String>) -> ()Parameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
()The result of the operation.