Module tracing_subscriber::reload [−][src]
Wrapper for a Layer
to allow it to be dynamically reloaded.
This module provides a Layer
type which wraps another type implementing
the Layer
trait, allowing the wrapped type to be replaced with another
instance of that type at runtime.
This can be used in cases where a subset of Subscriber
functionality
should be dynamically reconfigured, such as when filtering directives may
change at runtime. Note that this layer introduces a (relatively small)
amount of overhead, and should thus only be used as needed.
Structs
Error | Indicates that an error occurred when reloading a layer. |
Handle | Allows reloading the state of an associated |
Layer | Wraps a |