[−][src]Trait tracing_actix::ActorInstrument
Extension trait allowing actor futures to be instrumented with
a tracing
Span
.
Provided methods
pub fn actor_instrument(self, span: Span) -> ActorInstrumented<Self>
[src]
Instruments this type with the provided Span
, returning an
ActorInstrumented
wrapper.
When the wrapped actor future is polled, the attached Span
will be entered for the duration of the poll.