Enum xmlparser::StreamErrorKind []

pub enum StreamErrorKind {
    Msg(String),
    UnexpectedEndOfStream,
    InvalidName,
    InvalidChar(charStringErrorPos),
    InvalidReference,
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

The steam ended earlier than we expected.

Should only appear on invalid input data. Errors in a valid XML should be handled by errors below.

An invalid Name.

An invalid/unexpected character in the stream.

An invalid reference.

Methods

impl StreamErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for StreamErrorKind

Formats the value using the given formatter.

impl Display for StreamErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for StreamErrorKind

Performs the conversion.

impl From<String> for StreamErrorKind

Performs the conversion.

impl From<StreamError> for StreamErrorKind

Performs the conversion.