pub enum CredentialAttachReissueReason {
ReceiptExpired(ReceiptExpiryReason),
StaleOrUnknownReceipt,
}Expand description
Why a driven credential attach ended in an honest re-issue terminal.
This is an SDK-side classification of two wire answers, not a new wire value: both arms are read off responses the server already sends.
Variants§
ReceiptExpired(ReceiptExpiryReason)
The receipt window closed while provenance still explains the commit, so the server can still state WHICH generation the lost commit produced.
StaleOrUnknownReceipt
Provenance expired too. The server deliberately claims no commit proof, so exact-old and unknown tokens are indistinguishable from here.
Trait Implementations§
impl Copy for CredentialAttachReissueReason
impl Eq for CredentialAttachReissueReason
impl StructuralPartialEq for CredentialAttachReissueReason
Auto Trait Implementations§
impl Freeze for CredentialAttachReissueReason
impl RefUnwindSafe for CredentialAttachReissueReason
impl Send for CredentialAttachReissueReason
impl Sync for CredentialAttachReissueReason
impl Unpin for CredentialAttachReissueReason
impl UnsafeUnpin for CredentialAttachReissueReason
impl UnwindSafe for CredentialAttachReissueReason
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