Function tracing_distributed::register_dist_tracing_root[][src]

pub fn register_dist_tracing_root<SpanId, TraceId>(
    trace_id: TraceId,
    remote_parent_span: Option<SpanId>
) -> Result<(), TraceCtxError> where
    SpanId: 'static + Clone + Send + Sync,
    TraceId: 'static + Clone + Send + Sync

Register the current span as the local root of a distributed trace.