Enum inth_oauth2::client::response::ParseError [] [src]

pub enum ParseError {
    ExpectedType(&'static str),
    ExpectedFieldType(&'static str, &'static str),
    ExpectedFieldValue(&'static str, &'static str),
    UnexpectedField(&'static str),
}

Response parse errors.

Variants

Expected response to be of type.

Expected field to be of type.

Expected field to equal value.

Expected field to not be present.

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ParseError
[src]

impl PartialEq for ParseError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ParseError
[src]

impl Display for ParseError
[src]

Formats the value using the given formatter.

impl Error for ParseError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more