Skip to main content

spans

Method
This is a method of the TraceContext class in the trace module.
Get all spans.

Signature

def spans(&self) -> &[Span]

Returns

Returns
&[Span]
The result of the operation.