Enum xmlparser::StreamError[][src]

pub enum StreamError {
    UnexpectedEndOfStream,
    InvalidName,
    InvalidChar(Vec<u8>, ErrorPos),
    InvalidQuote(charErrorPos),
    InvalidSpace(charErrorPos),
    InvalidString(Vec<String>, ErrorPos),
    InvalidReference,
    InvalidExternalID,
}

A stream parser errors.

Variants

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 unknown token.

An invalid/unexpected character.

The first byte is an actual one, others - expected.

We are using a single value to reduce the struct size.

An unexpected character instead of " or '.

An unexpected character instead of an XML space.

Includes: ' ' \n \r \t &#x20; &#x9; &#xD; &#xA;.

An unexpected character instead of an XML space.

The first string is an actual one, others - expected.

We are using a single value to reduce the struct size.

An invalid reference.

An invalid ExternalID in the DTD.

Trait Implementations

impl Debug for StreamError
[src]

Formats the value using the given formatter. Read more

impl Display for StreamError
[src]

Formats the value using the given formatter. Read more

impl Error for StreamError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for StreamError

impl Sync for StreamError