pub enum VerifyError {
UnsupportedVersion,
BadSignatureFormat,
BadPublicKeyFormat,
BadPayloadFormat,
Invalid,
}Expand description
A signature verification error
Variants§
UnsupportedVersion
Unsupported signature version
BadSignatureFormat
Signature format is invalid
BadPublicKeyFormat
PublicKey format is invalid
BadPayloadFormat
Message payload format is invalid
Invalid
The signature does not verify the payload from signer
Trait Implementations§
Source§impl Debug for VerifyError
impl Debug for VerifyError
Source§impl PartialEq for VerifyError
impl PartialEq for VerifyError
impl StructuralPartialEq for VerifyError
Auto Trait Implementations§
impl Freeze for VerifyError
impl RefUnwindSafe for VerifyError
impl Send for VerifyError
impl Sync for VerifyError
impl Unpin for VerifyError
impl UnwindSafe for VerifyError
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