pub enum XlsxError {
Show 19 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),
CellRAttribute,
Unexpected(&'static str),
CellError(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
CellRAttribute
Cell ‘r’ attribute error
Unexpected(&'static str)
Unexpected error
CellError(String)
Cell error
Trait Implementations
sourceimpl Error for XlsxError
impl Error for XlsxError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Infallible> for XlsxError
impl From<Infallible> for XlsxError
sourcefn from(e: ParseError) -> XlsxError
fn from(e: ParseError) -> XlsxError
Converts to this type from the input type.
sourceimpl From<ParseFloatError> for XlsxError
impl From<ParseFloatError> for XlsxError
sourcefn from(e: ParseFloatError) -> XlsxError
fn from(e: ParseFloatError) -> XlsxError
Converts to this type from the input type.
sourceimpl From<ParseIntError> for XlsxError
impl From<ParseIntError> for XlsxError
sourcefn from(e: ParseIntError) -> XlsxError
fn from(e: ParseIntError) -> XlsxError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for XlsxError
impl Send for XlsxError
impl Sync for XlsxError
impl Unpin for XlsxError
impl !UnwindSafe for XlsxError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more