Enum pairing::GroupDecodingError [] [src]

pub enum GroupDecodingError {
    NotOnCurve,
    NotInSubgroup,
    CoordinateDecodingError(&'static strPrimeFieldDecodingError),
    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.

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]

[src]

Formats the value using the given formatter.

impl Error for GroupDecodingError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for GroupDecodingError
[src]

[src]

Formats the value using the given formatter. Read more