pub trait IntoProblemDetail {
// Required method
fn into_problem_detail(&self) -> ProblemDetail;
}Expand description
Trait for converting error types into RFC 7807 ProblemDetail.
Implement this trait on your error types to enable automatic
Outcome::Fault → ProblemDetail conversion.