Enum inth_oauth2::client::ClientError
[−]
[src]
pub enum ClientError {
Io(Error),
Url(ParseError),
Hyper(Error),
Json(ParserError),
Parse(ParseError),
OAuth2(OAuth2Error),
}Errors that can occur during authorization.
Variants
Io(Error)IO error.
Url(ParseError)URL error.
Hyper(Error)Hyper error.
Json(ParserError)JSON error.
Parse(ParseError)Response parse error.
OAuth2(OAuth2Error)OAuth 2.0 error.
Trait Implementations
impl Debug for ClientError[src]
impl Display for ClientError[src]
impl Error for ClientError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for ClientError[src]
impl From<ParseError> for ClientError[src]
fn from(err: ParseError) -> Self
Performs the conversion.
impl From<Error> for ClientError[src]
impl From<ParserError> for ClientError[src]
fn from(err: ParserError) -> Self
Performs the conversion.
impl From<ParseError> for ClientError[src]
fn from(err: ParseError) -> Self
Performs the conversion.
impl From<OAuth2Error> for ClientError[src]
fn from(err: OAuth2Error) -> Self
Performs the conversion.