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(&'static str)
Expected response to be of type.
ExpectedFieldType(&'static str, &'static str)
Expected field to be of type.
ExpectedFieldValue(&'static str, &'static str)
Expected field to equal value.
UnexpectedField(&'static str)
Expected field to not be present.
Trait Implementations
impl Debug for ParseError
[src]
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ParseError
[src]
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
This method tests for !=
.