pub enum RefreshOauth2AccessTokenError {
SendHttpRefresh(SendHttpError),
ParseHttpResponse(Error),
}
Available on crate feature
oauth2
only.Expand description
Errors that can occur during the coroutine progression.
Variants§
SendHttpRefresh(SendHttpError)
ParseHttpResponse(Error)
Trait Implementations§
Source§impl Error for RefreshOauth2AccessTokenError
impl Error for RefreshOauth2AccessTokenError
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<Error> for RefreshOauth2AccessTokenError
impl From<Error> for RefreshOauth2AccessTokenError
Source§impl From<SendHttpError> for RefreshOauth2AccessTokenError
impl From<SendHttpError> for RefreshOauth2AccessTokenError
Source§fn from(source: SendHttpError) -> Self
fn from(source: SendHttpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RefreshOauth2AccessTokenError
impl !RefUnwindSafe for RefreshOauth2AccessTokenError
impl Send for RefreshOauth2AccessTokenError
impl Sync for RefreshOauth2AccessTokenError
impl Unpin for RefreshOauth2AccessTokenError
impl !UnwindSafe for RefreshOauth2AccessTokenError
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