pub enum DeviceFlowError {
AuthorizationPending,
SlowDown,
ExpiredToken,
AccessDenied,
InvalidDeviceCode,
UnsupportedGrantType,
}Expand description
Device flow specific errors
Variants§
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
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<DeviceFlowError> for AuthError
impl From<DeviceFlowError> for AuthError
Source§fn from(source: DeviceFlowError) -> Self
fn from(source: DeviceFlowError) -> Self
Converts to this type from the input type.
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