Enum ruint::ToFieldError
source · pub enum ToFieldError {
NotInField,
}
Expand description
Error for TryFrom<Uint>
for ark_ff
and others.
Variants§
NotInField
Number is equal or larger than the target field modulus.
Trait Implementations§
source§impl Clone for ToFieldError
impl Clone for ToFieldError
source§fn clone(&self) -> ToFieldError
fn clone(&self) -> ToFieldError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ToFieldError
impl Debug for ToFieldError
source§impl Display for ToFieldError
impl Display for ToFieldError
source§impl Error for ToFieldError
impl Error for ToFieldError
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()
impl Copy for ToFieldError
Auto Trait Implementations§
impl RefUnwindSafe for ToFieldError
impl Send for ToFieldError
impl Sync for ToFieldError
impl Unpin for ToFieldError
impl UnwindSafe for ToFieldError
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