Enum openidconnect::UserInfoError [−][src]
#[non_exhaustive] pub enum UserInfoError<RE> where
RE: Error + 'static, { ClaimsVerification(ClaimsVerificationError), Parse(Error<Error>), Request(RE), Response(StatusCode, Vec<u8>, String), Other(String), }
Expand description
Error retrieving user info.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClaimsVerification(ClaimsVerificationError)
Failed to verify user info claims.
Failed to parse server response.
An error occurred while sending the request or receiving the response (e.g., network connectivity failed).
Response(StatusCode, Vec<u8>, String)
Server returned an invalid response.
Other(String)
An unexpected error occurred.
Trait Implementations
Auto Trait Implementations
impl<RE> !RefUnwindSafe for UserInfoError<RE>
impl<RE> Send for UserInfoError<RE> where
RE: Send,
impl<RE> Sync for UserInfoError<RE> where
RE: Sync,
impl<RE> Unpin for UserInfoError<RE> where
RE: Unpin,
impl<RE> !UnwindSafe for UserInfoError<RE>