Enum htmlescape::DecodeErrKind [−][src]
pub enum DecodeErrKind {
UnknownEntity,
MalformedNumEscape,
InvalidCharacter,
PrematureEnd,
IoError(Error),
EncodingError,
}Variants
UnknownEntityA non-existent named entity was referenced. Example: &thisentitydoesnotexist
MalformedNumEscapeA numerical escape sequence (&# or &#x) containing an invalid character.
Examples:  a, oo
InvalidCharacterA numerical escape sequence (&# or &#x) resolved to an invalid unicode code point.
Example: �
PrematureEndThe input ended prematurely (ie. inside an unterminated named entity sequence).
IoError(Error)An IO error occured.
EncodingErrorThe supplied Reader produces invalid UTF-8.
Trait Implementations
impl Debug for DecodeErrKind[src]
impl Debug for DecodeErrKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DecodeErrKind[src]
impl PartialEq for DecodeErrKindfn eq(&self, other: &DecodeErrKind) -> bool[src]
fn eq(&self, other: &DecodeErrKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for DecodeErrKind[src]
impl Eq for DecodeErrKindAuto Trait Implementations
impl Send for DecodeErrKind
impl Send for DecodeErrKindimpl Sync for DecodeErrKind
impl Sync for DecodeErrKind