pub trait WithTraceContext {
// Required method
fn with_trace_context(self, instance: impl Into<String>) -> Self;
}Expand description
Helper trait for enriching Problem with trace context
Required Methods§
Sourcefn with_trace_context(self, instance: impl Into<String>) -> Self
fn with_trace_context(self, instance: impl Into<String>) -> Self
Enrich this Problem with trace_id and instance from the current request context
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.