Get Span • Rust AI Agent SDK

get_span: Get a span by ID.

get_span

Method

</div>

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

Get a span by ID.

Signature

python
def get_span(&self, span_id: &str) -> Option<&Span>

Parameters

ParamField &str

No description available.