Module tracing_subscriber::source ·
Layers that control which spans and events are enabled by the wrapped
This module contains a number of types that provide implementations of
various strategies for filtering which spans and events are enabled. For
details on filtering spans and events using
Layers, see the
layer module’s documentation.
Indicates that a field name specified in a filter directive was invalid.
A single filtering directive.
A filter implemented by a closure or function pointer that determines whether a given span or event is enabled dynamically, potentially based on the current span context.
A filter implemented by a closure or function pointer that determines whether a given span or event is enabled, based on its
Uniquely identifies an individual
Filterinstance in the context of a
Indicates that an error occurred while parsing a
EnvFilterfrom an environment variable.
A filter comparable to a verbosity
Indicates that a string could not be parsed to a valid level.
Indicates that a string could not be parsed as a filtering directive.
Extension trait adding combinators for combining
DynFilterFnfrom a function or closure that returns
trueif a span or event should be enabled within a particular span context.