pub enum EcdsaSignatureVerificationFailure {
WrongInputParameterLength {
faulty_slice: &'static str,
expected_length: usize,
actual_length: usize,
},
InvalidCurve(CurveVerificationFailure),
ServiceFailure(PukclReturnCode),
}
Expand description
An error type representing failure modes for a
Pukcc::zp_ecdsa_verify_signature
service
Variants
WrongInputParameterLength
InvalidCurve(CurveVerificationFailure)
ServiceFailure(PukclReturnCode)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EcdsaSignatureVerificationFailure
impl Send for EcdsaSignatureVerificationFailure
impl Sync for EcdsaSignatureVerificationFailure
impl Unpin for EcdsaSignatureVerificationFailure
impl UnwindSafe for EcdsaSignatureVerificationFailure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more