pub enum CurveVerificationFailure {
IncorrectSliceLength {
faulty_slice: &'static str,
expected_length: usize,
actual_length: usize,
},
LengthsAreNotAlignedTo4,
}
Expand description
An error type representing failure modes for a
Curve::verify_curve
function
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CurveVerificationFailure
impl RefUnwindSafe for CurveVerificationFailure
impl Send for CurveVerificationFailure
impl Sync for CurveVerificationFailure
impl Unpin for CurveVerificationFailure
impl UnwindSafe for CurveVerificationFailure
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