#[non_exhaustive]pub enum Fault {
DivZero,
Domain,
Range,
Empty,
Absent,
Future,
}Expand description
A formula evaluation fault (SPEC 5.5, 15.11; spec-0.4.0): the optional fault member
of a not_covered envelope. The cell has no value, deterministically; this is not
missing data. These are formula codes, not verification codes, so they are not
ErrorCodes.
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.
DivZero
E_FORMULA_DIV_ZERO
Domain
E_FORMULA_DOMAIN
Range
E_FORMULA_RANGE
Empty
E_FORMULA_EMPTY
Absent
E_FORMULA_ABSENT
Future
E_FORMULA_FUTURE
Implementations§
Trait Implementations§
impl Copy for Fault
impl Eq for Fault
Source§impl Ord for Fault
impl Ord for Fault
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Fault
impl PartialOrd for Fault
impl StructuralPartialEq for Fault
Auto Trait Implementations§
impl Freeze for Fault
impl RefUnwindSafe for Fault
impl Send for Fault
impl Sync for Fault
impl Unpin for Fault
impl UnsafeUnpin for Fault
impl UnwindSafe for Fault
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