pub fn set_default(
layers: Vec<Box<dyn Layer<Registry> + Send + Sync + 'static>>,
) -> DefaultGuardExpand description
Creates a Registry, adds the given Layers
to it, and sets itself as the default subscriber in the current scope, returning a guard that will unset it
when dropped.
See set_default
ยงErrors
- An error can be thrown on registry initialization