Enum inth_oauth2::ClientError
[−]
[src]
pub enum ClientError { Io(Error), Url(ParseError), Reqwest(Error), Json(Error), Parse(ParseError), OAuth2(OAuth2Error), }
Errors that can occur during authorization.
Variants
Io(Error)
IO error.
Url(ParseError)
URL error.
Reqwest(Error)
Reqwest error.
Json(Error)
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]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Error for ClientError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
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
[src]
Performs the conversion.
impl From<Error> for ClientError
[src]
impl From<Error> for ClientError
[src]
impl From<ParseError> for ClientError
[src]
fn from(err: ParseError) -> Self
[src]
Performs the conversion.
impl From<OAuth2Error> for ClientError
[src]
fn from(err: OAuth2Error) -> Self
[src]
Performs the conversion.