pub enum DevicePoll {
Pending,
Ready(Value),
Denied,
}Expand description
One poll tick of a device-code login.
Variants§
Pending
The user has not finished authorizing yet — poll again after the
interval (covers both authorization_pending and slow_down).
Ready(Value)
Authorized: the PLAINTEXT secret Value the caller seals + persists.
Denied
The user denied access or the device code expired — abandon the flow.
Trait Implementations§
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