Skip to main content

Module guards

Module guards 

Source
Expand description

RAII-style guards

Structs§

ThreadNamedSpanGuard
Ends a named span when dropped. Bind it to a name: let _ = .. drops it at once.
ThreadSpanGuard
Ends a span when dropped. Bind it to a name: let _ = .. drops it at once.
TracingSystemGuard
TracingThreadGuard

Traits§

SpanEndProperties
What a thread span guard carries until its end: nothing (()), which ends the span plainly, or SpanProperties, which ends it with the properties that were set.

Functions§

init_telemetry
shutdown_telemetry