pub enum BigIntError {
BaseTooHigh(usize, usize),
ParseFailed(ParseError),
DivisionByZero,
NegativeExponentiation,
NonPositiveLogarithm,
LogOfSmallBase,
NegativeRoot,
SmallRoot,
}
Expand description
Represents an error with regards to a big int operation.
Variants§
BaseTooHigh(usize, usize)
ParseFailed(ParseError)
DivisionByZero
NegativeExponentiation
NonPositiveLogarithm
LogOfSmallBase
NegativeRoot
SmallRoot
Trait Implementations§
Source§impl Debug for BigIntError
impl Debug for BigIntError
Source§impl Display for BigIntError
impl Display for BigIntError
Source§impl Error for BigIntError
impl Error for BigIntError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for BigIntError
impl PartialEq for BigIntError
impl Eq for BigIntError
impl StructuralPartialEq for BigIntError
Auto Trait Implementations§
impl Freeze for BigIntError
impl RefUnwindSafe for BigIntError
impl Send for BigIntError
impl Sync for BigIntError
impl Unpin for BigIntError
impl UnwindSafe for BigIntError
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