pub enum RefreshRejection {
Unavailable,
Expired,
AccountDisabled,
Restricted,
Stale,
ReuseDetected,
}Expand description
Authentication rejection, distinct from persistence/commit failure and never containing tokens.
Variants§
Missing, revoked, wrong-owner, or generation-invalid session.
Expired
The credential deadline or authoritative server-side session expiry has passed.
AccountDisabled
Product account is disabled or deleted.
Restricted
Product disallows refreshing this restricted login.
Stale
Identifiable immediate previous token matches the chosen retry policy; always rejected.
ReuseDetected
Identifiable replay; account/session revocation has committed before returning this fact.
Trait Implementations§
Source§impl Clone for RefreshRejection
impl Clone for RefreshRejection
Source§fn clone(&self) -> RefreshRejection
fn clone(&self) -> RefreshRejection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefreshRejection
impl Debug for RefreshRejection
Source§impl PartialEq for RefreshRejection
impl PartialEq for RefreshRejection
impl Copy for RefreshRejection
impl Eq for RefreshRejection
impl StructuralPartialEq for RefreshRejection
Auto Trait Implementations§
impl Freeze for RefreshRejection
impl RefUnwindSafe for RefreshRejection
impl Send for RefreshRejection
impl Sync for RefreshRejection
impl Unpin for RefreshRejection
impl UnsafeUnpin for RefreshRejection
impl UnwindSafe for RefreshRejection
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