Skip to main content

global_provider

Function global_provider 

Source
pub fn global_provider() -> Arc<ServiceProvider> ⓘ
👎Deprecated since 0.2.0:

Use Host::provider() or dispatch_provider() within an active DispatchRuntime

Expand description

Deprecated shim: read the process-wide ServiceProvider fallback.

Panics when no shim was set and no [DispatchRuntime] is active on this task.