pub enum PollStatus {
Authorized(String),
Pending,
SlowDown {
interval: Duration,
},
}Expand description
Result of one poll of the token endpoint that did not end the flow.
Variants§
Authorized(String)
The user authorized the app; carries the access token.
Pending
The user has not finished authorizing yet; poll again after the same interval.
SlowDown
The server asked the client to poll less often; poll again after
interval.
Trait Implementations§
Source§impl Clone for PollStatus
impl Clone for PollStatus
Source§impl Debug for PollStatus
impl Debug for PollStatus
impl Eq for PollStatus
Source§impl PartialEq for PollStatus
impl PartialEq for PollStatus
impl StructuralPartialEq for PollStatus
Auto Trait Implementations§
impl Freeze for PollStatus
impl RefUnwindSafe for PollStatus
impl Send for PollStatus
impl Sync for PollStatus
impl Unpin for PollStatus
impl UnsafeUnpin for PollStatus
impl UnwindSafe for PollStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.