Skip to main content

IntoProblemDetail

Trait IntoProblemDetail 

Source
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::FaultProblemDetail conversion.

Required Methods§

Implementors§