pub enum V2ErrorClass {
Show 49 variants
Malformed,
UnsupportedObjectType,
KeyIdMismatch,
DelegationDigestMismatch,
ChainLinkageMismatch,
DuplicateCertificateRef,
InvalidSignature,
InvalidRequiredScope,
ConfigurationInvalid,
ExpectedChallengeUnavailable,
NamespaceMismatch,
StaleReplayEpoch,
VerifierIdMismatch,
ChallengeMismatch,
ChallengeNotFresh,
ExpectedAgentMismatch,
SessionContextMismatch,
ReceiverAudienceRequired,
ReceiverAudienceMismatch,
ReceiverBindingRejected,
ClaimReplay,
StreamSequenceMismatch,
ClaimStoreUnavailable,
ReceiptAbandoned,
EvaluationCancelled,
ClockRegressed,
AllowHorizonPassed,
ClaimLeaseLive,
ClaimLeaseLost,
ClaimAlreadyTerminal,
ClaimNotFound,
StatusKeyBindingMismatch,
StatusObjectRejected,
ReceiptBundleMismatch,
BundleHashMismatch,
TransactionPartyMismatch,
TransactionContextMismatch,
TransactionSignatureSetInvalid,
RotationStateMismatch,
RotationKeyReused,
RotationFutureDated,
RotationFork,
RotationFrozen,
RotationRecoveryInvalid,
LogStateMismatch,
LogGap,
LogOrphan,
LogFork,
LogFrozen,
}Expand description
The closed list of SPEC-v2 §2.7 failure classes. Every v2 failure that is not a terminal Protocol result, a release result, or a signing error has exactly one of these classes. Messages are diagnostic only; conformance compares classes.
Variants§
Malformed
UnsupportedObjectType
KeyIdMismatch
DelegationDigestMismatch
ChainLinkageMismatch
DuplicateCertificateRef
InvalidSignature
InvalidRequiredScope
ConfigurationInvalid
NamespaceMismatch
StaleReplayEpoch
VerifierIdMismatch
ChallengeMismatch
ChallengeNotFresh
ExpectedAgentMismatch
SessionContextMismatch
ReceiverAudienceRequired
ReceiverAudienceMismatch
ReceiverBindingRejected
ClaimReplay
StreamSequenceMismatch
ReceiptAbandoned
EvaluationCancelled
ClockRegressed
AllowHorizonPassed
ClaimLeaseLive
ClaimLeaseLost
ClaimAlreadyTerminal
ClaimNotFound
StatusKeyBindingMismatch
StatusObjectRejected
ReceiptBundleMismatch
BundleHashMismatch
TransactionPartyMismatch
TransactionContextMismatch
TransactionSignatureSetInvalid
RotationStateMismatch
RotationKeyReused
RotationFutureDated
RotationFork
RotationFrozen
RotationRecoveryInvalid
LogStateMismatch
LogGap
LogOrphan
LogFork
LogFrozen
Implementations§
Source§impl V2ErrorClass
impl V2ErrorClass
Trait Implementations§
Source§impl Clone for V2ErrorClass
impl Clone for V2ErrorClass
impl Copy for V2ErrorClass
Source§impl Debug for V2ErrorClass
impl Debug for V2ErrorClass
Source§impl Display for V2ErrorClass
impl Display for V2ErrorClass
impl Eq for V2ErrorClass
Source§impl Hash for V2ErrorClass
impl Hash for V2ErrorClass
Source§impl Ord for V2ErrorClass
impl Ord for V2ErrorClass
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for V2ErrorClass
impl PartialEq for V2ErrorClass
Source§impl PartialOrd for V2ErrorClass
impl PartialOrd for V2ErrorClass
impl StructuralPartialEq for V2ErrorClass
Auto Trait Implementations§
impl Forget for V2ErrorClass
impl Freeze for V2ErrorClass
impl RefUnwindSafe for V2ErrorClass
impl Send for V2ErrorClass
impl Sync for V2ErrorClass
impl Unpin for V2ErrorClass
impl UnsafeUnpin for V2ErrorClass
impl UnwindSafe for V2ErrorClass
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