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
IO(IOError)
Xml(XmlError)
Zip(ZipError)
Utf8(Utf8Error)
ParseInt(ParseIntError)
ParseBool(ParseBoolError)
UnexpectedEof
UnexpectedTag
Fields of UnexpectedTag
expected: String | |
found: String |
UnexpectedEvent
Fields of UnexpectedEvent
expected: String | |
found: String |
MissingField
Fields of MissingField
name: String | |
field: String |
UnknownValue
Fields of UnknownValue
expected: String | |
found: String |
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
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 Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<IOError> for Error
[src]
impl From<IOError> for Error
impl From<ParseIntError> for Error
[src]
impl From<ParseIntError> for Error
fn from(err: ParseIntError) -> Self
[src]
fn from(err: ParseIntError) -> Self
Performs the conversion.
impl From<ParseBoolError> for Error
[src]
impl From<ParseBoolError> for Error
fn from(err: ParseBoolError) -> Self
[src]
fn from(err: ParseBoolError) -> Self
Performs the conversion.
impl From<Utf8Error> for Error
[src]
impl From<Utf8Error> for Error
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(err: FromUtf8Error) -> Self
[src]
fn from(err: FromUtf8Error) -> Self
Performs the conversion.
impl From<XmlError> for Error
[src]
impl From<XmlError> for Error
impl From<ZipError> for Error
[src]
impl From<ZipError> for Error