pub enum RefreshOutcome {
Rotated(AuthTokenPair),
Rejected(RefreshRejection),
}Expand description
Post-commit result. Only the successful branch contains usable replacement credentials.
Variants§
Rotated(AuthTokenPair)
Candidate identity and all required writes have committed.
Rejected(RefreshRejection)
Authentication was rejected; the typed security fact is safe to map at the product boundary.
Trait Implementations§
Source§impl Clone for RefreshOutcome
impl Clone for RefreshOutcome
Source§fn clone(&self) -> RefreshOutcome
fn clone(&self) -> RefreshOutcome
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 RefreshOutcome
impl Debug for RefreshOutcome
Source§impl PartialEq for RefreshOutcome
impl PartialEq for RefreshOutcome
impl Eq for RefreshOutcome
impl StructuralPartialEq for RefreshOutcome
Auto Trait Implementations§
impl Freeze for RefreshOutcome
impl RefUnwindSafe for RefreshOutcome
impl Send for RefreshOutcome
impl Sync for RefreshOutcome
impl Unpin for RefreshOutcome
impl UnsafeUnpin for RefreshOutcome
impl UnwindSafe for RefreshOutcome
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