pub enum Error {
Io(Error),
Ods(OdsError),
Xls(XlsError),
Xlsb(XlsbError),
Xlsx(XlsxError),
Vba(VbaError),
De(DeError),
Msg(&'static str),
}
Expand description
A struct to handle any error and a message
Variants
Io(Error)
IO error
Ods(OdsError)
Ods specific error
Xls(XlsError)
xls specific error
Xlsb(XlsbError)
xlsb specific error
Xlsx(XlsxError)
xlsx specific error
Vba(VbaError)
vba specific error
De(DeError)
Auto error cfb specific error
Msg(&'static str)
General error message
Trait Implementations
sourceimpl Fail for Error
impl Fail for Error
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 moreAuto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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