pub trait ResponseFutureExt: Sized {
// Required method
fn with_trace_id(
self,
trace_id: String,
trace_header: String,
include_trace_id: bool,
) -> TracedResponseFuture<Self> ⓘ;
}
Expand description
Extension trait for response futures to add trace context
Required Methods§
Sourcefn with_trace_id(
self,
trace_id: String,
trace_header: String,
include_trace_id: bool,
) -> TracedResponseFuture<Self> ⓘ
fn with_trace_id( self, trace_id: String, trace_header: String, include_trace_id: bool, ) -> TracedResponseFuture<Self> ⓘ
Add trace ID header to the response
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.