pub enum CapsuleFragVerificationError {
IncorrectKeyFragSignature,
IncorrectReencryption,
}Expand description
Possible errors that can be returned by CapsuleFrag::verify.
Variants§
IncorrectKeyFragSignature
Inconsistent internal state leading to signature verification failure.
IncorrectReencryption
Inconsistent internal state leading to commitment verification failure.
Trait Implementations§
Source§impl Clone for CapsuleFragVerificationError
impl Clone for CapsuleFragVerificationError
Source§fn clone(&self) -> CapsuleFragVerificationError
fn clone(&self) -> CapsuleFragVerificationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CapsuleFragVerificationError
impl Debug for CapsuleFragVerificationError
Source§impl PartialEq for CapsuleFragVerificationError
impl PartialEq for CapsuleFragVerificationError
Source§fn eq(&self, other: &CapsuleFragVerificationError) -> bool
fn eq(&self, other: &CapsuleFragVerificationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CapsuleFragVerificationError
impl Eq for CapsuleFragVerificationError
impl StructuralPartialEq for CapsuleFragVerificationError
Auto Trait Implementations§
impl Freeze for CapsuleFragVerificationError
impl RefUnwindSafe for CapsuleFragVerificationError
impl Send for CapsuleFragVerificationError
impl Sync for CapsuleFragVerificationError
impl Unpin for CapsuleFragVerificationError
impl UnwindSafe for CapsuleFragVerificationError
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