🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

Function tracing_tower::request_span::make::layer

source ·
pub fn layer<R, T, G>(get_span: G) -> MakeLayer<R, T, G>
where G: GetSpan<R> + Clone,
Available on crate features tower-make and tower-layer only.