Trait MakeSpan
tower_http::trace
pub trait MakeSpan<B> { fn make_span(&mut self, request: &Request<B>) -> Span; }
trace
Trait used to generate Spans from requests. Trace wraps all request handling in this span.
Span
Trace
fn make_span(&mut self, request: &Request<B>) -> Span
Make a span from a request.
impl<B> MakeSpan<B> for Span
fn make_span(&mut self, _request: &Request<B>) -> Span
impl<B> MakeSpan<B> for DefaultMakeSpan
impl<F, B> MakeSpan<B> for F where F: FnMut(&Request<B>) -> Span,