Enum htmlescape::DecodeErrKind [−][src]
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:  a
, oo
InvalidCharacter
A numerical escape sequence (&# or &#x) resolved to an invalid unicode code point.
Example: �
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 Debug for DecodeErrKind
[src]
impl Debug for DecodeErrKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DecodeErrKind
[src]
impl PartialEq for DecodeErrKind
fn eq(&self, other: &DecodeErrKind) -> bool
[src]
fn eq(&self, other: &DecodeErrKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for DecodeErrKind
[src]
impl Eq for DecodeErrKind
Auto Trait Implementations
impl Send for DecodeErrKind
impl Send for DecodeErrKind
impl Sync for DecodeErrKind
impl Sync for DecodeErrKind