pub enum SchnorrError {
ExpectedSameSizeSequences(usize, usize),
IndexOutOfBounds(usize, usize),
InvalidResponse,
Serialization(SerializationError),
ValueMustNotBeEqual,
InvalidProofOfEquality,
MissingBlindingAtIndex(usize),
MissingResponseAtIndex(usize),
FoundCommonIndexInOwnAndReceivedResponses(usize),
NotAProduct,
NotASquare,
NotAnInverse,
}Variants§
ExpectedSameSizeSequences(usize, usize)
IndexOutOfBounds(usize, usize)
InvalidResponse
Serialization(SerializationError)
ValueMustNotBeEqual
InvalidProofOfEquality
MissingBlindingAtIndex(usize)
MissingResponseAtIndex(usize)
FoundCommonIndexInOwnAndReceivedResponses(usize)
NotAProduct
NotASquare
NotAnInverse
Trait Implementations§
Source§impl Debug for SchnorrError
impl Debug for SchnorrError
Source§impl From<SerializationError> for SchnorrError
impl From<SerializationError> for SchnorrError
Source§fn from(e: SerializationError) -> Self
fn from(e: SerializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchnorrError
impl !RefUnwindSafe for SchnorrError
impl Send for SchnorrError
impl Sync for SchnorrError
impl Unpin for SchnorrError
impl !UnwindSafe for SchnorrError
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