Enum calamine::XlsError[][src]

pub enum XlsError {
    Io(Error),
    Cfb(CfbError),
    Vba(VbaError),
    StackLen,
    Unrecognized {
        typ: &'static str,
        val: u8,
    },
    Password,
    Len {
        expected: usize,
        found: usize,
        typ: &'static str,
    },
    ContinueRecordTooShort,
    EoStream(&'static str),
    InvalidFormula {
        stack_size: usize,
    },
    IfTab(usize),
    Etpg(u8),
    NoVba,
}

An enum to handle Xls specific errors

Variants

Io error

Cfb error

Vba error

Cannot parse formula, stack is too short

Unrecognized data

Fields of Unrecognized

data type

value found

Workook is password protected

Invalid length

Fields of Len

expected length

found length

length type

Continue Record is too short

End of stream

Invalid Formula

Fields of InvalidFormula

stack size

Invalid or unknown iftab

Invalid etpg

No vba project

Trait Implementations

impl Debug for XlsError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for XlsError
[src]

Performs the conversion.

impl From<VbaError> for XlsError
[src]

Performs the conversion.

impl From<XlsError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for XlsError

impl Sync for XlsError