Enum pairing_ce::GroupDecodingError [−][src]
pub enum GroupDecodingError { NotOnCurve, NotInSubgroup, CoordinateDecodingError(&'static str, PrimeFieldDecodingError), UnexpectedCompressionMode, UnexpectedInformation, }
An error that may occur when trying to decode an EncodedPoint
.
Variants
The coordinate(s) do not lie on the curve.
The element is not part of the r-order subgroup.
CoordinateDecodingError(&'static str, PrimeFieldDecodingError)
One of the coordinates could not be decoded
The compression mode of the encoded element was not as expected
The encoding contained bits that should not have been set
Trait Implementations
impl Debug for GroupDecodingError
[src]
impl Debug for GroupDecodingError
[src]impl Display for GroupDecodingError
[src]
impl Display for GroupDecodingError
[src]impl Error for GroupDecodingError
[src]
impl Error for GroupDecodingError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for GroupDecodingError
impl Send for GroupDecodingError
impl Sync for GroupDecodingError
impl Unpin for GroupDecodingError
impl UnwindSafe for GroupDecodingError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more