pub enum XlsxError {
Show 17 variants
Io(Error),
Zip(ZipError),
Vba(VbaError),
Xml(Error),
Parse(ParseError),
ParseFloat(ParseFloatError),
ParseInt(ParseIntError),
XmlEof(&'static str),
UnexpectedNode(&'static str),
FileNotFound(String),
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
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
Alphanumeric(u8)
Expecting alphanumeri 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 Fail for XlsxError
impl Fail for XlsxError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl 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