pub trait WithRequestId {
// Required method
fn with_request_id(self, request_id: &str) -> Self;
}Expand description
Request ID extension for tracing spans
Helper to add request_id to spans
Required Methods§
Sourcefn with_request_id(self, request_id: &str) -> Self
fn with_request_id(self, request_id: &str) -> Self
Add request ID to the current span
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".