pub enum XlsbError {
Show 18 variants
Io(Error),
Zip(ZipError),
Xml(Error),
XmlAttr(AttrError),
Vba(VbaError),
Mismatch {
expected: &'static str,
found: u16,
},
FileNotFound(String),
StackLen,
UnsupportedType(u16),
Etpg(u8),
IfTab(usize),
BErr(u8),
Ptg(u8),
CellError(u8),
WideStr {
ws_len: usize,
buf_len: usize,
},
Unrecognized {
typ: &'static str,
val: String,
},
Password,
WorksheetNotFound(String),
}
Expand description
A Xlsb specific error
Variants§
Io(Error)
Io error
Zip(ZipError)
Zip error
Xml(Error)
Xml error
XmlAttr(AttrError)
Xml attribute error
Vba(VbaError)
Vba error
Mismatch
Mismatch value
FileNotFound(String)
File not found
StackLen
Invalid formula, stack length too short
UnsupportedType(u16)
Unsupported type
Etpg(u8)
Unsupported etpg
IfTab(usize)
Unsupported iftab
BErr(u8)
Unsupported BErr
Ptg(u8)
Unsupported Ptg
CellError(u8)
Unsupported cell error code
WideStr
Wide str length too long
Unrecognized
Unrecognized data
Password
Workbook is password protected
WorksheetNotFound(String)
Worksheet not found
Trait Implementations§
Source§impl Error for XlsbError
impl Error for XlsbError
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()
Auto Trait Implementations§
impl Freeze for XlsbError
impl !RefUnwindSafe for XlsbError
impl Send for XlsbError
impl Sync for XlsbError
impl Unpin for XlsbError
impl !UnwindSafe for XlsbError
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