Enum openidconnect::RequestTokenError [−][src]
pub enum RequestTokenError<RE, T> where
T: ErrorResponse + 'static,
RE: Error + 'static, { ServerResponse(T), Request(RE), Parse(Error<Error>, Vec<u8, Global>), Other(String), }
Expand description
Error encountered while requesting access token.
Variants
Error response returned by authorization server. Contains the parsed ErrorResponse
returned by the server.
An error occurred while sending the request or receiving the response (e.g., network connectivity failed).
Failed to parse server response. Parse errors may occur while parsing either successful or error responses.
Other(String)
Some other type of error occurred (e.g., an unexpected server response).
Trait Implementations
impl<RE, T> Debug for RequestTokenError<RE, T> where
T: Debug + ErrorResponse + 'static,
RE: Debug + Error + 'static,
impl<RE, T> Debug for RequestTokenError<RE, T> where
T: Debug + ErrorResponse + 'static,
RE: Debug + Error + 'static,
impl<RE, T> Display for RequestTokenError<RE, T> where
T: ErrorResponse + 'static,
RE: Error + 'static,
impl<RE, T> Display for RequestTokenError<RE, T> where
T: ErrorResponse + 'static,
RE: Error + 'static,
impl<RE, T> Error for RequestTokenError<RE, T> where
T: ErrorResponse + 'static,
RE: Error + 'static,
impl<RE, T> Error for RequestTokenError<RE, T> where
T: ErrorResponse + 'static,
RE: Error + 'static,
Auto Trait Implementations
impl<RE, T> !RefUnwindSafe for RequestTokenError<RE, T>
impl<RE, T> Send for RequestTokenError<RE, T> where
RE: Send,
T: Send,
impl<RE, T> Sync for RequestTokenError<RE, T> where
RE: Sync,
T: Sync,
impl<RE, T> Unpin for RequestTokenError<RE, T> where
RE: Unpin,
T: Unpin,
impl<RE, T> !UnwindSafe for RequestTokenError<RE, T>