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 error

Xml(Error)

Xml error

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]

impl Display for XlsbError[src]

impl Error for XlsbError[src]

impl From<Error> for XlsbError[src]

impl From<Error> for XlsbError[src]

impl From<XlsbError> for Error[src]

impl From<ZipError> for XlsbError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.