Struct scuttlebutt::serialization::BiggerThanModulus
source · pub struct BiggerThanModulus;
Expand description
The error which occurs if the inputted value or bit pattern doesn’t correspond to an element.
Trait Implementations§
source§impl Clone for BiggerThanModulus
impl Clone for BiggerThanModulus
source§fn clone(&self) -> BiggerThanModulus
fn clone(&self) -> BiggerThanModulus
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 BiggerThanModulus
impl Debug for BiggerThanModulus
source§impl Display for BiggerThanModulus
impl Display for BiggerThanModulus
source§impl Error for BiggerThanModulus
impl Error for BiggerThanModulus
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 BiggerThanModulus
Auto Trait Implementations§
impl Freeze for BiggerThanModulus
impl RefUnwindSafe for BiggerThanModulus
impl Send for BiggerThanModulus
impl Sync for BiggerThanModulus
impl Unpin for BiggerThanModulus
impl UnwindSafe for BiggerThanModulus
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