Enum snarkvm_fields::errors::FieldError
source · pub enum FieldError {
Crate(&'static str, String),
InvalidFieldElement,
InvalidString,
Message(String),
ParsingEmptyString,
ParsingNonDigitCharacter,
}
Variants§
Crate(&'static str, String)
InvalidFieldElement
InvalidString
Message(String)
ParsingEmptyString
ParsingNonDigitCharacter
Trait Implementations§
source§impl Debug for FieldError
impl Debug for FieldError
source§impl Display for FieldError
impl Display for FieldError
source§impl Error for FieldError
impl Error for FieldError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for FieldError
impl From<Error> for FieldError
source§impl From<FieldError> for Error
impl From<FieldError> for Error
source§fn from(error: FieldError) -> Self
fn from(error: FieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FieldError
impl Send for FieldError
impl Sync for FieldError
impl Unpin for FieldError
impl UnwindSafe for FieldError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more