pub enum DeviceFlowError {
Show 16 variants
RequestError(Error),
RequestFailureError(StatusCode),
AuthRequestExpired,
ExpiredTokenError,
BadRefreshToken,
UnverifiedUserEmail,
SlowDown,
AuthorizationPending,
DeserializationError(String),
DeviceFlowDisabled,
IncorrectClientCredentials,
IncorrectDeviceCode,
AccessDenied,
UnsupportedGrantType,
RefreshTokenNotFound,
UnreachableError,
}
Variants§
RequestError(Error)
RequestFailureError(StatusCode)
AuthRequestExpired
ExpiredTokenError
BadRefreshToken
UnverifiedUserEmail
SlowDown
AuthorizationPending
DeserializationError(String)
DeviceFlowDisabled
IncorrectClientCredentials
IncorrectDeviceCode
AccessDenied
UnsupportedGrantType
RefreshTokenNotFound
UnreachableError
Trait Implementations§
Source§impl Debug for DeviceFlowError
impl Debug for DeviceFlowError
Source§impl Display for DeviceFlowError
impl Display for DeviceFlowError
Source§impl Error for DeviceFlowError
impl Error for DeviceFlowError
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()
Auto Trait Implementations§
impl Freeze for DeviceFlowError
impl !RefUnwindSafe for DeviceFlowError
impl Send for DeviceFlowError
impl Sync for DeviceFlowError
impl Unpin for DeviceFlowError
impl !UnwindSafe for DeviceFlowError
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