pub enum KeyFragVerificationError {
IncorrectCommitment,
DelegatingKeyNotProvided,
ReceivingKeyNotProvided,
IncorrectSignature,
}Expand description
Possible errors that can be returned by KeyFrag::verify.
Variants§
IncorrectCommitment
Inconsistent internal state leading to commitment verification failure.
DelegatingKeyNotProvided
A delegating key was included in the signature when KeyFrag was created,
but no delegating key was provided during verification.
ReceivingKeyNotProvided
A receiving key was included in the signature when KeyFrag was created,
but no receiving key was provided during verification.
IncorrectSignature
Inconsistent internal state leading to signature verification failure.
Trait Implementations§
Source§impl Debug for KeyFragVerificationError
impl Debug for KeyFragVerificationError
Source§impl Display for KeyFragVerificationError
impl Display for KeyFragVerificationError
Source§impl PartialEq for KeyFragVerificationError
impl PartialEq for KeyFragVerificationError
impl Eq for KeyFragVerificationError
impl StructuralPartialEq for KeyFragVerificationError
Auto Trait Implementations§
impl Freeze for KeyFragVerificationError
impl RefUnwindSafe for KeyFragVerificationError
impl Send for KeyFragVerificationError
impl Sync for KeyFragVerificationError
impl Unpin for KeyFragVerificationError
impl UnwindSafe for KeyFragVerificationError
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