pub trait OpenTelemetryProtocolInterceptor {
type Error: ErrorExt;
// Provided method
fn pre_execute(
&self,
_query_ctx: QueryContextRef,
) -> Result<(), Self::Error> { ... }
}Expand description
OpenTelemetryProtocolInterceptor can track life cycle of an open telemetry protocol request and customize or abort its execution at given point.
Required Associated Types§
Provided Methods§
fn pre_execute(&self, _query_ctx: QueryContextRef) -> Result<(), Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".