pub trait HyperLegacyClientInstrumentwhere
Self: Sized,{
type Connector;
type Body;
// Required method
fn instrument(self) -> InstrumentedLegacyClient<Self::Connector, Self::Body>;
}Expand description
A trait for creating instrumented hyper-util legacy clients with OpenTelemetry tracing.
Required Associated Types§
Required Methods§
Sourcefn instrument(self) -> InstrumentedLegacyClient<Self::Connector, Self::Body>
fn instrument(self) -> InstrumentedLegacyClient<Self::Connector, Self::Body>
Wraps this client in an InstrumentedLegacyClient that can be reused
to send traced requests.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".