pub enum ProofError {
InvalidHandle,
StaleCapability,
InsufficientRights,
PolicyViolation,
P3NotImplemented,
DerivationChainBroken,
}Expand description
Errors from proof verification (ADR-135 three-layer system).
Variants§
InvalidHandle
P1: Handle does not resolve to a valid capability.
StaleCapability
P1: Capability epoch does not match (revoked).
InsufficientRights
P1: Capability does not carry the required rights.
PolicyViolation
P2: One or more structural invariant checks failed.
Deliberately does not specify which check failed to prevent timing side-channel leakage (ADR-135).
P3NotImplemented
P3: Deep proof verification not implemented in v1.
DerivationChainBroken
P3: The derivation chain is broken — an ancestor is invalid, revoked, or the chain does not terminate at a root.
Trait Implementations§
Source§impl Clone for ProofError
impl Clone for ProofError
Source§fn clone(&self) -> ProofError
fn clone(&self) -> ProofError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProofError
Source§impl Debug for ProofError
impl Debug for ProofError
Source§impl Display for ProofError
impl Display for ProofError
impl Eq for ProofError
Source§impl From<ProofError> for RvmError
impl From<ProofError> for RvmError
Source§fn from(e: ProofError) -> Self
fn from(e: ProofError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProofError
impl PartialEq for ProofError
impl StructuralPartialEq for ProofError
Auto Trait Implementations§
impl Freeze for ProofError
impl RefUnwindSafe for ProofError
impl Send for ProofError
impl Sync for ProofError
impl Unpin for ProofError
impl UnsafeUnpin for ProofError
impl UnwindSafe for ProofError
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