Enum lol_html::html_content::EndTagError
source · pub enum EndTagError {
NoEndTag,
}
Expand description
An error that occurs when invalid value is provided for the tag name.
Variants§
NoEndTag
The tag has no end tag.
Trait Implementations§
source§impl Clone for EndTagError
impl Clone for EndTagError
source§fn clone(&self) -> EndTagError
fn clone(&self) -> EndTagError
Returns a copy of the value. Read more
1.0.0 · 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 EndTagError
impl Debug for EndTagError
source§impl Display for EndTagError
impl Display for EndTagError
source§impl Error for EndTagError
impl Error for EndTagError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<EndTagError> for EndTagError
impl PartialEq<EndTagError> for EndTagError
source§fn eq(&self, other: &EndTagError) -> bool
fn eq(&self, other: &EndTagError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EndTagError
impl Eq for EndTagError
impl StructuralEq for EndTagError
impl StructuralPartialEq for EndTagError
Auto Trait Implementations§
impl RefUnwindSafe for EndTagError
impl Send for EndTagError
impl Sync for EndTagError
impl Unpin for EndTagError
impl UnwindSafe for EndTagError
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