pub enum BigNumError {
ParseBigIntError(ParseBigIntError),
ConversionError(String),
}Expand description
Represents errors that can occur when working with BigNum.
Variants§
ParseBigIntError(ParseBigIntError)
Wrapper for parse errors from num_bigint.
ConversionError(String)
Generic conversion error with an accompanying message.
Trait Implementations§
Source§impl Debug for BigNumError
impl Debug for BigNumError
Source§impl From<ParseBigIntError> for BigNumError
impl From<ParseBigIntError> for BigNumError
Source§fn from(err: ParseBigIntError) -> Self
fn from(err: ParseBigIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BigNumError
impl RefUnwindSafe for BigNumError
impl Send for BigNumError
impl Sync for BigNumError
impl Unpin for BigNumError
impl UnwindSafe for BigNumError
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