Skip to main content

tokio_runtime

Macro tokio_runtime 

Source
macro_rules! tokio_runtime {
    () => { ... };
    ($handle:expr) => { ... };
}
Expand description

Initialize Tokio runtime metrics monitoring.

§Variants

  • tokio_runtime!() — uses tokio::runtime::Handle::current()
  • tokio_runtime!($handle) — uses the provided &Handle