Enum ExcelError Copy item path Source pub enum ExcelError {
Div0,
Na,
Name,
Null,
Num,
Ref,
Value,
Spill,
Calc,
}Expand description The XLSX error literals — what a cell evaluates to when a formula fails.
The Display implementation renders the canonical spreadsheet spelling
(#DIV/0!, …) and FromStr parses that spelling back, so the type
round-trips through the text-oriented file formats losslessly.
#DIV/0! — division by zero (or by an empty cell).
#N/A — a lookup found nothing (NA(), failed VLOOKUP).
#NAME? — an unknown function or named range.
#NULL! — a range intersection operator found no intersection.
#NUM! — a numeric argument or result is out of domain
(SQRT(-1), overflow).
#REF! — a reference points at a deleted or invalid cell.
#VALUE! — an argument has the wrong type (text where a number
belongs).
#SPILL! — a dynamic-array result is blocked by occupied cells.
#CALC! — a calc-engine failure with no more specific literal.
The canonical XLSX spelling of this error, e.g. #DIV/0!.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Formats the value using the given formatter.
Read more Parses a canonical XLSX error literal (#REF!) into an
ExcelError . Matching is exact and case-sensitive, mirroring the
file format. Unknown literals parse to Err(()).
The associated error which can be returned from parsing.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.