pub enum MarkupError {
UnknownTag(String),
InvalidElement {
attributes: BTreeMap<String, BTreeSet<AttributeError>>,
children: BTreeMap<String, BTreeSet<ChildError>>,
},
}Expand description
A markup error.
Variants§
UnknownTag(String)
An unknown tag.
InvalidElement
Invalid element.
Fields
§
attributes: BTreeMap<String, BTreeSet<AttributeError>>Invalid attributes.
§
children: BTreeMap<String, BTreeSet<ChildError>>Invalid children.
Trait Implementations§
Source§impl Clone for MarkupError
impl Clone for MarkupError
Source§fn clone(&self) -> MarkupError
fn clone(&self) -> MarkupError
Returns a duplicate 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 MarkupError
impl Debug for MarkupError
Source§impl Display for MarkupError
impl Display for MarkupError
Source§impl PartialEq for MarkupError
impl PartialEq for MarkupError
impl Eq for MarkupError
impl StructuralPartialEq for MarkupError
Auto Trait Implementations§
impl Freeze for MarkupError
impl RefUnwindSafe for MarkupError
impl Send for MarkupError
impl Sync for MarkupError
impl Unpin for MarkupError
impl UnsafeUnpin for MarkupError
impl UnwindSafe for MarkupError
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