forked from tokio-rs/tracing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subscriber: document boxed
Layer
s (tokio-rs#2023)
Currently, there is an `impl<S: Subscriber> Layer for Box<dyn Layer<S> + Send + Sync>` intended to allow type-erasing a subscriber. This change improves the documentation on runtime configuration of layers to include an example of using `Box` to type-erase a layer. Signed-off-by: Eliza Weisman <eliza@buoyant.io>
- Loading branch information
Showing
1 changed file
with
136 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters