pub enum SigError {
NotSameAlgo(),
InvalidSig(),
NotSig(),
}Expand description
Errors enumeration for signature verification.
Variants§
NotSameAlgo()
Signature and pubkey are not the same algo
InvalidSig()
Invalid signature
NotSig()
Absence of signature
Trait Implementations§
impl Copy for SigError
impl Eq for SigError
impl StructuralPartialEq for SigError
Auto Trait Implementations§
impl Freeze for SigError
impl RefUnwindSafe for SigError
impl Send for SigError
impl Sync for SigError
impl Unpin for SigError
impl UnwindSafe for SigError
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