Module instrument

Module instrument 

Source
Available on crate feature tracing only.
Expand description

Re-export the tracing crate to have access to tracing macros like info!, debug!, trace! and so on. Attach a span to a std::future::Future.

Structs§

Instrumented
A Future that has been instrumented with a tracing Span.
WithDispatch
A Future that has been instrumented with a tracing Subscriber.

Traits§

Instrument
Attaches spans to a std::future::Future.
WithSubscriber
Extension trait allowing futures to be instrumented with a tracing Subscriber.