[][src]Enum escaper::DecodeErrKind

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

Variants

UnknownEntity

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

MalformedNumEscape

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

InvalidCharacter

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

PrematureEnd

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

IoError(Error)

An IO error occured.

EncodingError

The supplied Reader produces invalid UTF-8.

Trait Implementations

impl PartialEq<DecodeErrKind> for DecodeErrKind[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for DecodeErrKind[src]

impl Debug for DecodeErrKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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> Borrow<T> for T where
    T: ?Sized
[src]

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

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