pub enum Due {
ToBeAsked,
ToStayAlive,
}Expand description
Why a parked login is being renewed.
Variants§
ToBeAsked
What a reading needs: a park whose access token has lapsed cannot be asked about.
This is the one status does, and it is the read path’s own requirement rather
than a job it does on the side.
ToStayAlive
What keeps a park usable: a refresh token has a finite life, and one that lapses
costs a browser sign-in. Also covers everything ToBeAsked covers.
Trait Implementations§
impl Copy for Due
impl Eq for Due
impl StructuralPartialEq for Due
Auto Trait Implementations§
impl Freeze for Due
impl RefUnwindSafe for Due
impl Send for Due
impl Sync for Due
impl Unpin for Due
impl UnsafeUnpin for Due
impl UnwindSafe for Due
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.