[][src]Module tracing::dispatcher

Dispatches trace events to Subscribers.c

Structs

Dispatch

Dispatch trace data to a Subscriber.

SetGlobalDefaultError

Returned if setting the global dispatcher fails.

Functions

get_default

Executes a closure with a reference to this thread's current dispatcher.

set_global_default

Sets this dispatch as the global default for the duration of the entire program. Will be used as a fallback if no thread-local dispatch has been set in a thread (using with_default.)

with_default

Sets this dispatch as the default for the duration of a closure.