pub enum ParseError {
InvalidLength,
NodeCapacityExceeded,
StackCapacityExceeded,
RootCapacityExceeded,
AttributeCapacityExceeded,
ChildCapacityExceeded,
IdCapacityExceeded,
ClassCapacityExceeded,
SelectorCapacityExceeded,
}Expand description
An error that occurred during parsing
Variants§
InvalidLength
The input string length was too large to fit in a u32
NodeCapacityExceeded
The configured node capacity was exceeded
StackCapacityExceeded
The configured stack capacity was exceeded
RootCapacityExceeded
The configured root-node capacity was exceeded
AttributeCapacityExceeded
The configured attribute capacity was exceeded
ChildCapacityExceeded
The configured child capacity was exceeded
IdCapacityExceeded
The configured ID index capacity was exceeded
ClassCapacityExceeded
The configured class index capacity was exceeded
SelectorCapacityExceeded
The configured query selector capacity was exceeded
Trait Implementations§
Source§impl Clone for ParseError
impl Clone for ParseError
Source§fn clone(&self) -> ParseError
fn clone(&self) -> ParseError
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 ParseError
impl Debug for ParseError
Source§impl Display for ParseError
impl Display for ParseError
impl Eq for ParseError
Source§impl Ord for ParseError
impl Ord for ParseError
Source§fn cmp(&self, other: &ParseError) -> Ordering
fn cmp(&self, other: &ParseError) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParseError
impl PartialEq for ParseError
Source§impl PartialOrd for ParseError
impl PartialOrd for ParseError
impl StructuralPartialEq for ParseError
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnsafeUnpin for ParseError
impl UnwindSafe for ParseError
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