pub enum RefreshFailure {
SessionLost,
Transient,
}Expand description
How a failed refresh is handled (spec 0002, “When refresh fails”).
Variants§
SessionLost
The refresh token is rejected: a new login is needed.
Transient
May succeed later; the session stays usable.
Trait Implementations§
Source§impl Clone for RefreshFailure
impl Clone for RefreshFailure
impl Copy for RefreshFailure
Source§impl Debug for RefreshFailure
impl Debug for RefreshFailure
impl Eq for RefreshFailure
Source§impl PartialEq for RefreshFailure
impl PartialEq for RefreshFailure
impl StructuralPartialEq for RefreshFailure
Auto Trait Implementations§
impl Forget for RefreshFailure
impl Freeze for RefreshFailure
impl RefUnwindSafe for RefreshFailure
impl Send for RefreshFailure
impl Sync for RefreshFailure
impl Unpin for RefreshFailure
impl UnsafeUnpin for RefreshFailure
impl UnwindSafe for RefreshFailure
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