pub enum XlsxError {
Show 25 variants
Io(Error),
Zip(ZipError),
Vba(VbaError),
Xml(Error),
XmlAttr(AttrError),
Parse(ParseError),
ParseFloat(ParseFloatError),
ParseInt(ParseIntError),
XmlEof(&'static str),
UnexpectedNode(&'static str),
FileNotFound(String),
RelationshipNotFound,
Alphanumeric(u8),
NumericColumn(u8),
DimensionCount(usize),
CellTAttribute(String),
RangeWithoutColumnComponent,
RangeWithoutRowComponent,
Unexpected(&'static str),
Unrecognized {
typ: &'static str,
val: String,
},
CellError(String),
Password,
WorksheetNotFound(String),
TableNotFound(String),
NotAWorksheet(String),
}
Expand description
An enum for Xlsx specific errors
Variants§
Io(Error)
Io error
Zip(ZipError)
Zip error
Vba(VbaError)
Vba error
Xml(Error)
Xml error
XmlAttr(AttrError)
Xml attribute error
Parse(ParseError)
Parse error
ParseFloat(ParseFloatError)
Float error
ParseInt(ParseIntError)
ParseInt error
XmlEof(&'static str)
Unexpected end of xml
UnexpectedNode(&'static str)
Unexpected node
FileNotFound(String)
File not found
RelationshipNotFound
Relationship not found
Alphanumeric(u8)
Expecting alphanumeric character
NumericColumn(u8)
Numeric column
DimensionCount(usize)
Wrong dimension count
CellTAttribute(String)
Cell ‘t’ attribute error
RangeWithoutColumnComponent
There is no column component in the range string
RangeWithoutRowComponent
There is no row component in the range string
Unexpected(&'static str)
Unexpected error
Unrecognized
Unrecognized data
CellError(String)
Cell error
Password
Workbook is password protected
WorksheetNotFound(String)
Worksheet not found
TableNotFound(String)
Table not found
NotAWorksheet(String)
The specified sheet is not a worksheet
Trait Implementations§
Source§impl Error for XlsxError
impl Error for XlsxError
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 From<Infallible> for XlsxError
impl From<Infallible> for XlsxError
Source§fn from(e: ParseError) -> XlsxError
fn from(e: ParseError) -> XlsxError
Converts to this type from the input type.
Source§impl From<ParseFloatError> for XlsxError
impl From<ParseFloatError> for XlsxError
Source§fn from(e: ParseFloatError) -> XlsxError
fn from(e: ParseFloatError) -> XlsxError
Converts to this type from the input type.
Source§impl From<ParseIntError> for XlsxError
impl From<ParseIntError> for XlsxError
Source§fn from(e: ParseIntError) -> XlsxError
fn from(e: ParseIntError) -> XlsxError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XlsxError
impl !RefUnwindSafe for XlsxError
impl Send for XlsxError
impl Sync for XlsxError
impl Unpin for XlsxError
impl !UnwindSafe for XlsxError
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