pub enum DelegationReject {
ScopeExceedsParent {
dimension: Dimension,
},
VerifierBudgetExceeded {
limit: String,
},
DelegationRevoked {
link_index: usize,
},
SubjectIssuerMismatch {
link_index: usize,
},
UntrustedPrincipal,
OutsideValidityWindow,
Malformed {
detail: String,
},
}Expand description
A structured reason a delegation chain is rejected. code() yields the
on-the-wire reason string used across the SDKs.
Variants§
ScopeExceedsParent
A child link is broader than its parent on the named dimension.
VerifierBudgetExceeded
The verifier’s local cost budget was exceeded; limit names which one.
DelegationRevoked
A link (0-indexed from the root) is revoked; the whole chain and every authority below it is rejected.
SubjectIssuerMismatch
A link’s subject does not match the next link’s issuer.
UntrustedPrincipal
The root link’s issuer is not in the verifier’s trusted set.
OutsideValidityWindow
The current instant is outside the chain’s effective validity window.
Malformed
The chain or a link is structurally malformed.
Implementations§
Trait Implementations§
Source§impl Clone for DelegationReject
impl Clone for DelegationReject
Source§impl Debug for DelegationReject
impl Debug for DelegationReject
impl Eq for DelegationReject
Source§impl PartialEq for DelegationReject
impl PartialEq for DelegationReject
impl StructuralPartialEq for DelegationReject
Auto Trait Implementations§
impl Forget for DelegationReject
impl Freeze for DelegationReject
impl Move for DelegationReject
impl RefUnwindSafe for DelegationReject
impl Send for DelegationRejectwhere
RawVecInner: Send,
impl Sync for DelegationRejectwhere
RawVecInner: Sync,
impl Unpin for DelegationReject
impl UnsafeUnpin for DelegationReject
impl UnwindSafe for DelegationRejectwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.