Enum calamine::OdsError [−][src]
pub enum OdsError { Io(Error), Zip(ZipError), Xml(Error), Parse(ParseError), ParseInt(ParseIntError), ParseFloat(ParseFloatError), InvalidMime(Vec<u8>), FileNotFound(&'static str), Eof(&'static str), Mismatch { expected: &'static str, found: String, }, }
An enum for ods specific errors
Variants
Io(Error)
Io error
Zip(ZipError)
Zip error
Xml(Error)
Xml error
Parse(ParseError)
Error while parsing string
ParseInt(ParseIntError)
Error while parsing integer
ParseFloat(ParseFloatError)
Error while parsing float
InvalidMime(Vec<u8>)
Invalid MIME
FileNotFound(&'static str)
File not found
Eof(&'static str)
Unexpected end of file
Mismatch
Unexpexted error
Fields of Mismatch
expected: &'static str | Expected |
found: String | Found |
Trait Implementations
impl Debug for OdsError
[src]
impl Debug for OdsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for OdsError
[src]
impl From<Error> for OdsError
impl From<ZipError> for OdsError
[src]
impl From<ZipError> for OdsError
impl From<Error> for OdsError
[src]
impl From<Error> for OdsError
impl From<ParseError> for OdsError
[src]
impl From<ParseError> for OdsError
fn from(e: ParseError) -> OdsError
[src]
fn from(e: ParseError) -> OdsError
Performs the conversion.
impl From<ParseFloatError> for OdsError
[src]
impl From<ParseFloatError> for OdsError
fn from(e: ParseFloatError) -> OdsError
[src]
fn from(e: ParseFloatError) -> OdsError
Performs the conversion.
impl From<OdsError> for Error
[src]
impl From<OdsError> for Error