Skip to main content

try_global

Function try_global 

Source
pub fn try_global() -> Option<impl Deref<Target = EndpointRegistry> + 'static>
Expand description

Try to get the global registry (non-panicking).

Returns None if the registry has not been initialized.