pub enum PollDeviceCodeEvent {
AuthorizationPending,
AuthorizationDeclined,
BadVerificationCode,
ExpiredToken,
AccessDenied,
SlowDown,
}Variants§
Implementations§
Source§impl PollDeviceCodeEvent
impl PollDeviceCodeEvent
pub fn as_str(&self) -> &'static str
pub fn as_message(&self)
Trait Implementations§
Source§impl From<StandardErrorResponse<DeviceCodeErrorResponseType>> for PollDeviceCodeEvent
impl From<StandardErrorResponse<DeviceCodeErrorResponseType>> for PollDeviceCodeEvent
Source§fn from(value: StandardErrorResponse<DeviceCodeErrorResponseType>) -> Self
fn from(value: StandardErrorResponse<DeviceCodeErrorResponseType>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PollDeviceCodeEvent
impl RefUnwindSafe for PollDeviceCodeEvent
impl Send for PollDeviceCodeEvent
impl Sync for PollDeviceCodeEvent
impl Unpin for PollDeviceCodeEvent
impl UnsafeUnpin for PollDeviceCodeEvent
impl UnwindSafe for PollDeviceCodeEvent
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