pub enum PrimeFieldDecodingError {
NotInField(String),
}
Expand description
An error that may occur when trying to interpret a PrimeFieldRepr
as a
PrimeField
element.
Variants§
Trait Implementations§
Source§impl Debug for PrimeFieldDecodingError
impl Debug for PrimeFieldDecodingError
Source§impl Display for PrimeFieldDecodingError
impl Display for PrimeFieldDecodingError
Source§impl Error for PrimeFieldDecodingError
impl Error for PrimeFieldDecodingError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl Freeze for PrimeFieldDecodingError
impl RefUnwindSafe for PrimeFieldDecodingError
impl Send for PrimeFieldDecodingError
impl Sync for PrimeFieldDecodingError
impl Unpin for PrimeFieldDecodingError
impl UnwindSafe for PrimeFieldDecodingError
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