pub enum SmcRangeProofError {
Show 14 variants
ZeroSignature,
InvalidSignature,
InvalidSetMembershipSetup,
CannotFindElementInSet,
InvalidSetMembershipProof,
InvalidRangeProof,
UnsupportedBase(u16, u16),
InvalidRange(u64, u16),
IncorrectBounds(String),
Serialization(SerializationError),
ShortGroupSig(ShortGroupSigError),
Schnorr(SchnorrError),
ProofShorterThanExpected(usize, usize),
NotAPerfectRange(u64, u16),
}Variants§
ZeroSignature
InvalidSignature
InvalidSetMembershipSetup
CannotFindElementInSet
InvalidSetMembershipProof
InvalidRangeProof
UnsupportedBase(u16, u16)
InvalidRange(u64, u16)
IncorrectBounds(String)
Serialization(SerializationError)
ShortGroupSig(ShortGroupSigError)
Schnorr(SchnorrError)
ProofShorterThanExpected(usize, usize)
NotAPerfectRange(u64, u16)
Trait Implementations§
Source§impl Debug for SmcRangeProofError
impl Debug for SmcRangeProofError
Source§impl From<SchnorrError> for SmcRangeProofError
impl From<SchnorrError> for SmcRangeProofError
Source§fn from(e: SchnorrError) -> Self
fn from(e: SchnorrError) -> Self
Converts to this type from the input type.
Source§impl From<SerializationError> for SmcRangeProofError
impl From<SerializationError> for SmcRangeProofError
Source§fn from(e: SerializationError) -> Self
fn from(e: SerializationError) -> Self
Converts to this type from the input type.
Source§impl From<ShortGroupSigError> for SmcRangeProofError
impl From<ShortGroupSigError> for SmcRangeProofError
Source§fn from(e: ShortGroupSigError) -> Self
fn from(e: ShortGroupSigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SmcRangeProofError
impl !UnwindSafe for SmcRangeProofError
impl Freeze for SmcRangeProofError
impl Send for SmcRangeProofError
impl Sync for SmcRangeProofError
impl Unpin for SmcRangeProofError
impl UnsafeUnpin for SmcRangeProofError
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