Enum xml::writer::Error [] [src]

pub enum Error {
    Io(Error),
    DocumentStartAlreadyEmitted,
    LastElementNameNotAvailable,
    EndElementNameIsNotEqualToLastStartElementName,
    EndElementNameIsNotSpecified,
}

An error which may be returned by XmlWriter when writing XML events.

Variants

An I/O error occured in the underlying Write instance.

Document declaration has already been written to the output stream.

The name of the last opening element is not available.

The name of the last opening element is not equal to the name of the provided closing element.

End element name is not specified when it is needed, for example, when automatic closing is not enabled in configuration.

Trait Implementations

impl Debug for EmitterError
[src]

Formats the value using the given formatter.

impl From<Error> for EmitterError
[src]

Performs the conversion.

impl Display for EmitterError
[src]

Formats the value using the given formatter.

impl Error for EmitterError
[src]

A short description of the error. Read more

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