[][src]Module opentelemetry::api::trace::futures

OpenTelemetry Futures Compatibility

This module provides utilities for instrumenting asynchronous code written using futures and async/await.

This main trait is FutureExt, which allows a Context, to be attached to a future, sink, or stream.

Structs

WithContext

A future, stream, or sink that has an associated context.

Traits

FutureExt

Extension trait allowing futures, streams, and sinks to be traced with a span.