Enum fixnum::ArithmeticError [−][src]
#[non_exhaustive]
pub enum ArithmeticError {
Overflow,
DivisionByZero,
DomainViolation,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Overflow
DivisionByZero
DomainViolation
When someone tries to use operand out of the set of departure of the function. E.g.: when you try to compute the square root of a negative number.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArithmeticError
impl Send for ArithmeticError
impl Sync for ArithmeticError
impl Unpin for ArithmeticError
impl UnwindSafe for ArithmeticError
Blanket Implementations
Mutably borrows from an owned value. Read more