Enum htmlescape::DecodeErrKind [] [src]

pub enum DecodeErrKind {
    UnknownEntity,
    MalformedNumEscape,
    InvalidCharacter,
    PrematureEnd,
    IoError(Error),
    EncodingError,
}

Variants

A non-existent named entity was referenced. Example: &thisentitydoesnotexist

A numerical escape sequence (&# or &#x) containing an invalid character. Examples: &#32a, &#xfoo

A numerical escape sequence (&# or &#x) resolved to an invalid unicode code point. Example: &#xffffff

The input ended prematurely (ie. inside an unterminated named entity sequence).

An IO error occured.

The supplied Reader produces invalid UTF-8.

Trait Implementations

impl Debug for DecodeErrKind
[src]

Formats the value using the given formatter.

impl PartialEq for DecodeErrKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DecodeErrKind
[src]