pub enum HtmlErrorKind {
Show 15 variants
Eof,
UnexpectedToken,
InvalidTagName,
UnterminatedTag,
UnterminatedComment,
UnterminatedAttribute,
UnterminatedDoctype,
UnterminatedEntity,
DuplicateAttribute,
MismatchedClosingTag,
InvalidUtf8,
MaxDepthExceeded,
MaxNodeCountExceeded,
MaxAttributeCountExceeded,
MaxAttributeValueLengthExceeded,
}Variants§
Eof
UnexpectedToken
InvalidTagName
UnterminatedTag
UnterminatedComment
UnterminatedAttribute
UnterminatedDoctype
UnterminatedEntity
DuplicateAttribute
MismatchedClosingTag
InvalidUtf8
MaxDepthExceeded
MaxNodeCountExceeded
MaxAttributeCountExceeded
MaxAttributeValueLengthExceeded
Trait Implementations§
Source§impl Clone for HtmlErrorKind
impl Clone for HtmlErrorKind
Source§fn clone(&self) -> HtmlErrorKind
fn clone(&self) -> HtmlErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HtmlErrorKind
impl Debug for HtmlErrorKind
Source§impl PartialEq for HtmlErrorKind
impl PartialEq for HtmlErrorKind
Source§fn eq(&self, other: &HtmlErrorKind) -> bool
fn eq(&self, other: &HtmlErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HtmlErrorKind
impl Eq for HtmlErrorKind
impl StructuralPartialEq for HtmlErrorKind
Auto Trait Implementations§
impl Freeze for HtmlErrorKind
impl RefUnwindSafe for HtmlErrorKind
impl Send for HtmlErrorKind
impl Sync for HtmlErrorKind
impl Unpin for HtmlErrorKind
impl UnsafeUnpin for HtmlErrorKind
impl UnwindSafe for HtmlErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more