Enum group::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
NotOnCurve
The coordinate(s) do not lie on the curve.
NotInSubgroup
The element is not part of the r-order subgroup.
CoordinateDecodingError(&'static str, PrimeFieldDecodingError)
One of the coordinates could not be decoded
UnexpectedCompressionMode
The compression mode of the encoded element was not as expected
UnexpectedInformation
The encoding contained bits that should not have been set
Trait Implementations
impl Debug for GroupDecodingError
[src]
impl Debug for GroupDecodingError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GroupDecodingError
[src]
impl Error for GroupDecodingError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for GroupDecodingError
[src]
impl Display for GroupDecodingError
Auto Trait Implementations
impl Send for GroupDecodingError
impl Send for GroupDecodingError
impl Sync for GroupDecodingError
impl Sync for GroupDecodingError