pub type BoxedTelemetryLayer<S> = Box<dyn Layer<S> + Sync + Send>;Expand description
Type-erased layer compatible with any tracing registry that supports
LookupSpan. Boxing is what lets the disabled and enabled paths return
the same shape โ the caller composes it onto a subscriber via
.with(layer) without seeing the underlying generic parameters.
Aliased Typeยง
pub struct BoxedTelemetryLayer<S>(/* private fields */);