pub enum MalformedTagError {
MissingClosingBracket(u32),
MissingTagName(u32),
}Expand description
Errors reported for malformed HTML tags.
Each offset is an approximate UTF-8 byte offset from the start of the input.
Variants§
MissingClosingBracket(u32)
The closing bracket of the tag is missing
MissingTagName(u32)
The tag name is missing
Trait Implementations§
Source§impl Debug for MalformedTagError
impl Debug for MalformedTagError
impl Eq for MalformedTagError
Source§impl PartialEq for MalformedTagError
impl PartialEq for MalformedTagError
impl StructuralPartialEq for MalformedTagError
Auto Trait Implementations§
impl Freeze for MalformedTagError
impl RefUnwindSafe for MalformedTagError
impl Send for MalformedTagError
impl Sync for MalformedTagError
impl Unpin for MalformedTagError
impl UnsafeUnpin for MalformedTagError
impl UnwindSafe for MalformedTagError
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