[−][src]Trait tracing_futures::Instrument
Extension trait allowing futures, streams, and skins to be instrumented with
a tracing
Span
.
Provided methods
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper.
When the wrapped future, stream, or sink is polled, the attached Span
will be entered for the duration of the poll.