oauth2

Trait ErrorResponseType

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

Error types enum.

NOTE: The serialization must return the snake_case representation of this error type. This value must match the error type from the relevant OAuth 2.0 standards (RFC 6749 or an extension).

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§