Function init_global_registry

Source
pub fn init_global_registry(config: Config)
Expand description

Initialize the global registry with the given configuration. Panics if the global registry has already been initialized.

This is optional and only needed if you want to use the global registry. You can always create a new registry with Registry::new and pass it around to achieve better encapsulation.