Enum groupy::GroupDecodingError [−][src]
pub enum GroupDecodingError { NotOnCurve, NotInSubgroup, CoordinateDecodingError(&'static str, PrimeFieldDecodingError), UnexpectedCompressionMode, UnexpectedInformation, }
Expand description
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 source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
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
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,