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

ExpectedType

Expected response to be of type.

ExpectedFieldType

Expected field to be of type.

ExpectedFieldValue

Expected field to equal value.

UnexpectedField

Expected field to not be present.

Trait Implementations

impl Display for ParseError

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

impl Error for ParseError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

Derived Implementations

impl Eq for ParseError

impl PartialEq for ParseError

fn eq(&self, __arg_0: &ParseError) -> bool

fn ne(&self, __arg_0: &ParseError) -> bool

impl Copy for ParseError

impl Clone for ParseError

fn clone(&self) -> ParseError

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for ParseError

fn fmt(&self, __arg_0: &mut Formatter) -> Result