Enum calamine::XlsbError
[−]
[src]
pub enum XlsbError { Io(Error), Zip(ZipError), Xml(Error), 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, }, }
A Xlsb specific error
Variants
Io(Error)
Io error
Zip(ZipError)
Zip error
Xml(Error)
Xml error
Vba(VbaError)
Vba error
Mismatch
Mismatch value
Fields of Mismatch
expected: &'static str | expected |
found: u16 | found |
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
Fields of WideStr
ws_len: usize | wide str length |
buf_len: usize | buffer length |
Trait Implementations
impl Debug for XlsbError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Fail for XlsbError
[src]
fn cause(&self) -> Option<&Fail>
[src]
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
fn causes(&self) -> Causes
[src]
Returns a iterator over the causes of this Fail
with itself as the first item and the root_cause
as the final item. Read more
fn root_cause(&self) -> &(Fail + 'static)
[src]
Returns the "root cause" of this Fail
- the last value in the cause chain which does not return an underlying cause
. Read more
impl Display for XlsbError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more