Struct poem::middleware::OpenTelemetryTracing
source[−]pub struct OpenTelemetryTracing<T> { /* private fields */ }
This is supported on crate feature
opentelemetry
only.Expand description
Middleware for tracing with OpenTelemetry.
Implementations
Trait Implementations
impl<T, E> Middleware<E> for OpenTelemetryTracing<T> where
T: Tracer + Send + Sync,
E: Endpoint,
impl<T, E> Middleware<E> for OpenTelemetryTracing<T> where
T: Tracer + Send + Sync,
E: Endpoint,
Auto Trait Implementations
impl<T> RefUnwindSafe for OpenTelemetryTracing<T> where
T: RefUnwindSafe,
impl<T> Send for OpenTelemetryTracing<T> where
T: Send + Sync,
impl<T> Sync for OpenTelemetryTracing<T> where
T: Send + Sync,
impl<T> Unpin for OpenTelemetryTracing<T>
impl<T> UnwindSafe for OpenTelemetryTracing<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more