pub enum PrimeFieldDecodingError {
NotInField(String),
}
Expand description
An error that may occur when trying to interpret a PrimeFieldRepr
as a
PrimeField
element.
Variants
NotInField(String)
The encoded value is not in the field
Trait Implementations
sourceimpl Debug for PrimeFieldDecodingError
impl Debug for PrimeFieldDecodingError
sourceimpl Display for PrimeFieldDecodingError
impl Display for PrimeFieldDecodingError
sourceimpl Error for PrimeFieldDecodingError
impl Error for PrimeFieldDecodingError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations
impl RefUnwindSafe for PrimeFieldDecodingError
impl Send for PrimeFieldDecodingError
impl Sync for PrimeFieldDecodingError
impl Unpin for PrimeFieldDecodingError
impl UnwindSafe for PrimeFieldDecodingError
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