Enum pairing_ce::PrimeFieldDecodingError [−][src]
pub enum PrimeFieldDecodingError { NotInField(String), }
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
impl Debug for PrimeFieldDecodingError
[src]
impl Debug for PrimeFieldDecodingError
[src]impl Display for PrimeFieldDecodingError
[src]
impl Display for PrimeFieldDecodingError
[src]impl Error for PrimeFieldDecodingError
[src]
impl Error for PrimeFieldDecodingError
[src]pub fn description(&self) -> &str
[src]
pub fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more