#[non_exhaustive]pub enum JwtTargetAcceptanceAuditError {
UnexpectedLegCount,
UnexpectedRoleOrder {
ordinal: u8,
},
InvalidLeg {
role: JwtTargetAcceptanceLegRole,
reason: JwtTargetAcceptanceLegFactError,
},
ActiveLegPrerequisiteNotEstablished {
role: JwtTargetAcceptanceLegRole,
},
DispatchAfterStop {
role: JwtTargetAcceptanceLegRole,
},
RequestCountExceeded,
ActiveRequestCountExceeded,
TotalResponseBytesExceeded,
TransportResponseBytesOverflow,
DuplicateEvidenceReference,
}Expand description
Static, redaction-safe aggregate validation failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnexpectedLegCount
The aggregate did not contain exactly six role slots.
UnexpectedRoleOrder
One role did not appear at its exact zero-based ordinal.
InvalidLeg
A leg bypassed its own constructor invariants.
Fields
role: JwtTargetAcceptanceLegRoleRole of the invalid fact.
reason: JwtTargetAcceptanceLegFactErrorStatic invariant failure.
ActiveLegPrerequisiteNotEstablished
An invalid-signature control was dispatched without its passive controls.
Fields
role: JwtTargetAcceptanceLegRoleActive role rejected by the prerequisite check.
DispatchAfterStop
A later request was represented after cancellation, a failed commit, a passive undispatched slot, or exhaustion of the retained-byte cap had already frozen the ordered tail.
Fields
role: JwtTargetAcceptanceLegRoleFirst dispatched role that appears after the stop boundary.
RequestCountExceeded
More than six request dispatches were represented.
ActiveRequestCountExceeded
More than two active request dispatches were represented.
TotalResponseBytesExceeded
Aggregate retained response bytes exceeded 256 KiB.
TransportResponseBytesOverflow
Exact transport response-byte accounting overflowed u64.
DuplicateEvidenceReference
Two committed legs referenced the same evidence object.
Trait Implementations§
Source§impl Clone for JwtTargetAcceptanceAuditError
impl Clone for JwtTargetAcceptanceAuditError
Source§fn clone(&self) -> JwtTargetAcceptanceAuditError
fn clone(&self) -> JwtTargetAcceptanceAuditError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for JwtTargetAcceptanceAuditError
impl Eq for JwtTargetAcceptanceAuditError
Source§impl Error for JwtTargetAcceptanceAuditError
impl Error for JwtTargetAcceptanceAuditError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl StructuralPartialEq for JwtTargetAcceptanceAuditError
Auto Trait Implementations§
impl Freeze for JwtTargetAcceptanceAuditError
impl RefUnwindSafe for JwtTargetAcceptanceAuditError
impl Send for JwtTargetAcceptanceAuditError
impl Sync for JwtTargetAcceptanceAuditError
impl Unpin for JwtTargetAcceptanceAuditError
impl UnsafeUnpin for JwtTargetAcceptanceAuditError
impl UnwindSafe for JwtTargetAcceptanceAuditError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.