register_dist_tracing_root

Function register_dist_tracing_root 

Source
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,
Expand description

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