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
sourceimpl Debug for FieldError
impl Debug for FieldError
sourceimpl Display for FieldError
impl Display for FieldError
sourceimpl Error for FieldError
impl Error for FieldError
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 FieldError
impl From<Error> for FieldError
sourceimpl From<FieldError> for Error
impl From<FieldError> for Error
sourcefn 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
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