pub trait RequestIdExt {
// Required method
fn request_id(&self) -> Option<String>;
}Expand description
Convenience to read the RequestId out of a set of request extensions.
Required Methods§
Sourcefn request_id(&self) -> Option<String>
fn request_id(&self) -> Option<String>
The correlation id, if the request_id middleware ran.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".