End Span • Rust AI Agent SDK

end_span: End a span.

end_span

Method

</div>

This is a method of the TraceContext class in the trace module.

End a span.

Signature

python
def end_span(&mut self, span_id: &str) -> ()

Parameters

ParamField &str

No description available.

Returns

ResponseField ()

The result of the operation.