pub trait ObjectSafeTracerProvider {
fn versioned_tracer_boxed(
&self,
name: Cow<'static, str>,
version: Option<&'static str>,
schema_url: Option<&'static str>
) -> Box<dyn ObjectSafeTracer + Send + Sync>;
}
Available on crate feature
trace
only.Expand description
Allows a specific TracerProvider
to be used generically by the
GlobalTracerProvider
by mirroring the interface and boxing the return types.