pub enum DevicePoll {
Pending,
Approved(String),
Denied,
Expired,
}Expand description
One terminal-or-not outcome of a device-auth poll.
Variants§
Pending
Not approved yet; keep polling.
Approved(String)
Approved: here is the minted API key.
Denied
The user rejected the request in the browser.
Expired
The request expired before anyone approved it.
Auto Trait Implementations§
impl Freeze for DevicePoll
impl RefUnwindSafe for DevicePoll
impl Send for DevicePoll
impl Sync for DevicePoll
impl Unpin for DevicePoll
impl UnsafeUnpin for DevicePoll
impl UnwindSafe for DevicePoll
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