end • Rust AI Agent SDK

end: End the span.

end

Method

</div>

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

End the span.

Signature

python
def end(&mut self, end_offset: Duration) -> ()

Parameters

ParamField Duration

No description available.

Returns

ResponseField ()

The result of the operation.