Function install_runtime

Source
pub fn install_runtime<R: Runtime>(
    runtime: R,
) -> Result<(), InstallRuntimeError>
Expand description

Try to install runtime as a global runtime to be used for rate-limited logging.

Return an error (and make no changes) if there there was already a runtime installed.