Skip to main content

start_span

Method
This is a method of the TraceContext class in the trace module.
Start a new span.

Signature

def start_span(&mut self, name: impl Into<String>, kind: SpanKind) -> String

Parameters

name
impl Into<String>
required
No description available.
kind
SpanKind
required
No description available.

Returns

Returns
String
The result of the operation.