Struct oxide_auth::code_grant::accesstoken::ErrorDescription [−][src]
pub struct ErrorDescription { /* fields omitted */ }Expand description
Simple wrapper around AccessTokenError to imbue the type with addtional json functionality. In addition this enforces backend specific behaviour for obtaining or handling the access error.
Implementations
Convert the error into a json string, viable for being sent over a network with
application/json encoding.
Get a handle to the description the client will receive.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorDescription
impl Send for ErrorDescription
impl Sync for ErrorDescription
impl Unpin for ErrorDescription
impl UnwindSafe for ErrorDescription
Blanket Implementations
Mutably borrows from an owned value. Read more