Module rt

Source
Expand description

Declare a dyn-safe trait for the parts of an asynchronous runtime so that we can install it globally.

Enums§

InstallRuntimeError
An error that occurs while installing a runtime.

Statics§

RUNTIME_SUPPORT 🔒
A global view of our runtime, used for rate-limited logging.

Traits§

RuntimeSupport
A dyn-safe view of the parts of an async runtime that we need for rate-limiting.

Functions§

install_runtime
Try to install runtime as a global runtime to be used for rate-limited logging.
rt_support
Return the installed runtime, if there is one.