Enum oauth2::error::OauthError
[−]
[src]
pub enum OauthError {
Utf8Error(Utf8Error),
FromUtf8Error(FromUtf8Error),
Url(ParseError),
Io(IoError),
AuthzBadRequest,
AuthzMissingClientId,
AuthzUnknownClient,
AuthzRedirectUrlNotRegistered,
AuthzGrantTypeMissing,
AuthzClientIdMismatch,
ClientCodeMissing,
ClientStateMissing,
ClientNonceMismatch,
UnexpectedStatusCode,
}These are errors returned to the caller
Variants
Utf8Error(Utf8Error)FromUtf8Error(FromUtf8Error)Url(ParseError)Io(IoError)AuthzBadRequestAuthzMissingClientIdAuthzUnknownClientAuthzRedirectUrlNotRegisteredAuthzGrantTypeMissingAuthzClientIdMismatchClientCodeMissingClientStateMissingClientNonceMismatchUnexpectedStatusCodeTrait Implementations
impl Debug for OauthError[src]
impl Display for OauthError[src]
impl StdError for OauthError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl From<Utf8Error> for OauthError[src]
fn from(e: Utf8Error) -> OauthError
Performs the conversion.
impl From<FromUtf8Error> for OauthError[src]
fn from(e: FromUtf8Error) -> OauthError
Performs the conversion.
impl From<ParseError> for OauthError[src]
fn from(e: ParseError) -> OauthError
Performs the conversion.
impl From<IoError> for OauthError[src]
fn from(e: IoError) -> OauthError
Performs the conversion.