pub enum HtmlCompareError {
NodeMismatch(String),
MissingNode {
expected: String,
position: usize,
},
ExtraNode {
found: String,
position: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for HtmlCompareError
impl Debug for HtmlCompareError
Source§impl Display for HtmlCompareError
impl Display for HtmlCompareError
Source§impl Error for HtmlCompareError
impl Error for HtmlCompareError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for HtmlCompareError
impl RefUnwindSafe for HtmlCompareError
impl Send for HtmlCompareError
impl Sync for HtmlCompareError
impl Unpin for HtmlCompareError
impl UnsafeUnpin for HtmlCompareError
impl UnwindSafe for HtmlCompareError
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