Enum docx::errors::Error[][src]

pub enum Error {
    IO(IOError),
    Xml(XmlError),
    Zip(ZipError),
    Utf8(Utf8Error),
    ParseInt(ParseIntError),
    ParseBool(ParseBoolError),
    UnexpectedEof,
    UnexpectedTag {
        expected: String,
        found: String,
    },
    UnexpectedEvent {
        expected: String,
        found: String,
    },
    MissingField {
        name: String,
        field: String,
    },
    UnknownValue {
        expected: String,
        found: String,
    },
}

Variants

Fields of UnexpectedTag

Fields of UnexpectedEvent

Fields of MissingField

Fields of UnknownValue

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<IOError> for Error
[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

Performs the conversion.

impl From<ParseBoolError> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

impl From<XmlError> for Error
[src]

Performs the conversion.

impl From<ZipError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error