pub enum GroupError {
NotOnCurve,
NotInSubgroup,
CannotHashToGroup,
DecodeError,
}
Expand description
Errors that can occur when working with group elements.
Variants§
NotOnCurve
The point is not on the curve
NotInSubgroup
The point is not in the r-torsion subgroup
CannotHashToGroup
The point cannot be hashed to the group
DecodeError
The point cannot be decoded
Trait Implementations§
Source§impl Clone for GroupError
impl Clone for GroupError
Source§fn clone(&self) -> GroupError
fn clone(&self) -> GroupError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupError
impl Debug for GroupError
impl Copy for GroupError
Auto Trait Implementations§
impl Freeze for GroupError
impl RefUnwindSafe for GroupError
impl Send for GroupError
impl Sync for GroupError
impl Unpin for GroupError
impl UnwindSafe for GroupError
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