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

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

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

Variants

Io(Error)

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

DocumentStartAlreadyEmitted

Document declaration has already been written to the output stream.

LastElementNameNotAvailable

The name of the last opening element is not available.

EndElementNameIsNotEqualToLastStartElementName

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

EndElementNameIsNotSpecified

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

Trait Implementations

impl From<Error> for EmitterError[src]

impl Debug for EmitterError[src]

impl Display for EmitterError[src]

impl Error for EmitterError[src]

Auto Trait Implementations

impl Send for EmitterError

impl Unpin for EmitterError

impl Sync for EmitterError

impl !UnwindSafe for EmitterError

impl !RefUnwindSafe for EmitterError

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]