Module opentelemetry::runtime

source ·
Expand description

Provides an abstraction of several async runtimes

This allows OpenTelemetry to work with any current or future runtime. There are currently builtin implementations for Tokio and async-std.

Structs

  • AsyncStdrt-async-std
    Runtime implementation, which works with async-std.
  • Tokiort-tokio
    Runtime implementation, which works with Tokio’s multi thread runtime.
  • TokioCurrentThreadrt-tokio-current-thread
    Runtime implementation, which works with Tokio’s current thread runtime.

Traits

  • A runtime is an abstraction of an async runtime like Tokio or async-std. It allows OpenTelemetry to work with any current and hopefully future runtime implementation.