pub enum AuthPoll {
Pending,
Linked {
account: AccountDto,
auth_key: String,
},
Expired,
}Expand description
The auth_poll tri-state.
Variants§
Pending
The token is known but no account linked yet; keep polling.
Linked
An account linked: its data plus this device’s one-time auth key.
Expired
The token expired (or was never registered): the flow must restart with a fresh token.
Trait Implementations§
impl StructuralPartialEq for AuthPoll
Auto Trait Implementations§
impl Freeze for AuthPoll
impl RefUnwindSafe for AuthPoll
impl Send for AuthPoll
impl Sync for AuthPoll
impl Unpin for AuthPoll
impl UnsafeUnpin for AuthPoll
impl UnwindSafe for AuthPoll
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