pub fn register<T: Clone + Send + Sync + 'static>(
name: &str,
value: T,
) -> Result<(), RegistryError>Expand description
Register a value by name in the global registry.
Returns Err(AlreadyRegistered) if the name is already taken.
Use unregister first if you need to replace an existing entry.