tower_http::traceTrait MakeSpan
Source pub trait MakeSpan<B> {
// Required method
fn make_span(&mut self, request: &Request<B>) -> Span;
}
Available on crate feature trace
only.
Expand description
Trait used to generate Span
s from requests. Trace
wraps all request handling in this
span.
Make a span from a request.