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.

Enums§

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.
  • RuntimeChannel is an extension to Runtime. Currently, it provides a channel that is used by the log and span batch processors.
  • TrySend is an abstraction of Sender that is capable of sending messages through a reference.