Enum vkrs::auth::OAuthError
[−]
[src]
pub enum OAuthError { 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 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]
fn from(err: Error) -> ClientError
Performs the conversion.
impl From<ParseError> for ClientError
[src]
fn from(err: ParseError) -> ClientError
Performs the conversion.
impl From<Error> for ClientError
[src]
fn from(err: Error) -> ClientError
Performs the conversion.
impl From<ParserError> for ClientError
[src]
fn from(err: ParserError) -> ClientError
Performs the conversion.
impl From<ParseError> for ClientError
[src]
fn from(err: ParseError) -> ClientError
Performs the conversion.
impl From<OAuth2Error> for ClientError
[src]
fn from(err: OAuth2Error) -> ClientError
Performs the conversion.