pub enum ExcelError {
Ref,
Value,
DivZero,
Na,
Name,
Num,
Null,
}Expand description
The set of Excel error values a cell or a parsed literal can hold.
These are the seven canonical Excel errors. They never enter any kernel
(D-04): an Error short-circuits ABOVE the scalar evaluator in the
Excel-semantics layer, so the evaluator stays a pure arithmetic evaluator
with no Excel-error awareness.
Deserialize is derived (additive to the original Serialize-only shape) so
the BA-owned manifest governed-data table — whose typed value is a
CellValue that may be an Error — round-trips through serde (Phase 10 Plan
02, D-03).
Variants§
Ref
#REF! — an invalid cell reference.
Value
#VALUE! — a wrong type of argument or operand.
DivZero
#DIV/0! — division by zero.
Na
#N/A — a value is not available to a function or formula.
Name
#NAME? — an unrecognized name in a formula.
Num
#NUM! — an invalid numeric value in a formula or function.
Null
#NULL! — an empty intersection of two ranges.
Trait Implementations§
Source§impl Clone for ExcelError
impl Clone for ExcelError
Source§fn clone(&self) -> ExcelError
fn clone(&self) -> ExcelError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ExcelError
Source§impl Debug for ExcelError
impl Debug for ExcelError
Source§impl<'de> Deserialize<'de> for ExcelError
impl<'de> Deserialize<'de> for ExcelError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ExcelError
Source§impl JsonSchema for ExcelError
impl JsonSchema for ExcelError
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ExcelError
impl PartialEq for ExcelError
Source§fn eq(&self, other: &ExcelError) -> bool
fn eq(&self, other: &ExcelError) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ExcelError
impl Serialize for ExcelError
impl StructuralPartialEq for ExcelError
Auto Trait Implementations§
impl Freeze for ExcelError
impl RefUnwindSafe for ExcelError
impl Send for ExcelError
impl Sync for ExcelError
impl Unpin for ExcelError
impl UnsafeUnpin for ExcelError
impl UnwindSafe for ExcelError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.