Enum snarkvm_curves::errors::GroupError
source · pub enum GroupError {
Crate(&'static str, String),
FieldError(FieldError),
InvalidGroupElement,
InvalidString,
Message(String),
ParsingEmptyString,
ParsingNonDigitCharacter,
}
Variants
Crate(&'static str, String)
FieldError(FieldError)
InvalidGroupElement
InvalidString
Message(String)
ParsingEmptyString
ParsingNonDigitCharacter
Trait Implementations
sourceimpl Debug for GroupError
impl Debug for GroupError
sourceimpl Display for GroupError
impl Display for GroupError
sourceimpl Error for GroupError
impl Error for GroupError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for GroupError
impl From<Error> for GroupError
sourceimpl From<FieldError> for GroupError
impl From<FieldError> for GroupError
sourcefn from(error: FieldError) -> Self
fn from(error: FieldError) -> Self
Converts to this type from the input type.
sourceimpl From<GroupError> for Error
impl From<GroupError> for Error
sourcefn from(error: GroupError) -> Self
fn from(error: GroupError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for GroupError
impl Send for GroupError
impl Sync for GroupError
impl Unpin for GroupError
impl UnwindSafe for GroupError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more