Trait ErrorResponse

Source
pub trait ErrorResponse:
    Debug
    + DeserializeOwned
    + Serialize { }
Expand description

Server Error Response

This trait exists separately from the StandardErrorResponse struct to support customization by clients, such as supporting interoperability with non-standards-complaint OAuth2 providers

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.

Implementors§