pub enum Failure {
Profile(Rejection),
Authority(Rejection),
KeyBinding,
AcValidity,
AuthorityValidity,
AlgorithmSyntax,
AlgorithmMismatch,
SignatureEncoding,
Signature,
}Expand description
Completed semantic refusal, never a resource or callback error.
Variants§
Profile(Rejection)
Static AC profile rejected, retaining its original reason and source.
Authority(Rejection)
Supplied AA identity or purpose rejected by the common authority check.
KeyBinding
Effective key’s original SPKI differs from the supplied AA certificate.
AcValidity
The entire evaluation interval is not inside the AC’s inclusive validity.
AuthorityValidity
The entire interval is not inside the AA PKC’s inclusive validity.
AlgorithmSyntax
At least one known algorithm has malformed parameters.
AlgorithmMismatch
Resolved inner and outer signature identities disagree.
SignatureEncoding
Signature is not a whole number of octets.
Signature
Completed signature verification returned No.
Trait Implementations§
impl Copy for Failure
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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