pub enum OauthUserInfoEndpointError {
MakeRequestFailed(HttpError),
DeResponseBodyOkJsonFailed(SerdeJsonError),
ResponseBodyError(StatusCode, Result<OauthUserInfoResponseBodyErrJson, String>),
}Variants§
MakeRequestFailed(HttpError)
DeResponseBodyOkJsonFailed(SerdeJsonError)
ResponseBodyError(StatusCode, Result<OauthUserInfoResponseBodyErrJson, String>)
Trait Implementations§
Source§impl Debug for OauthUserInfoEndpointError
impl Debug for OauthUserInfoEndpointError
Source§impl Display for OauthUserInfoEndpointError
impl Display for OauthUserInfoEndpointError
Source§impl Error for OauthUserInfoEndpointError
impl Error for OauthUserInfoEndpointError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<OauthUserInfoEndpointError> for EndpointParseResponseError
impl From<OauthUserInfoEndpointError> for EndpointParseResponseError
Source§fn from(err: OauthUserInfoEndpointError) -> Self
fn from(err: OauthUserInfoEndpointError) -> Self
Converts to this type from the input type.
Source§impl From<OauthUserInfoEndpointError> for EndpointRenderRequestError
impl From<OauthUserInfoEndpointError> for EndpointRenderRequestError
Source§fn from(err: OauthUserInfoEndpointError) -> Self
fn from(err: OauthUserInfoEndpointError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OauthUserInfoEndpointError
impl !RefUnwindSafe for OauthUserInfoEndpointError
impl Send for OauthUserInfoEndpointError
impl Sync for OauthUserInfoEndpointError
impl Unpin for OauthUserInfoEndpointError
impl !UnwindSafe for OauthUserInfoEndpointError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more