pub trait ErrorResponse:
    Debug
    + Display
    + DeserializeOwned
    + Serialize { }Expand description
Server Error Response
See Section 5.2 of RFC 6749.
This trait exists separately from the StandardErrorResponse struct
to support customization by clients, such as supporting interoperability with
non-standards-complaint OAuth2 providers.
The Display trait implementation for types implementing ErrorResponse should be a
human-readable string suitable for printing (e.g., within a RequestTokenError).
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.