pub enum NonSingularQueryError {
Descendant,
TooManySelectors,
NoSelectors,
Wildcard,
Slice,
Filter,
}Expand description
Error when parsing a singular query
Variants§
Descendant
Descendant segment
TooManySelectors
Long hand segment with too many internal selectors
NoSelectors
Long hand segment with no selectors
Wildcard
A wildcard segment
Slice
A slice segment
Filter
A filter segment
Trait Implementations§
Source§impl Debug for NonSingularQueryError
impl Debug for NonSingularQueryError
Source§impl Display for NonSingularQueryError
impl Display for NonSingularQueryError
Source§impl Error for NonSingularQueryError
impl Error for NonSingularQueryError
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()
Source§impl PartialEq for NonSingularQueryError
impl PartialEq for NonSingularQueryError
impl StructuralPartialEq for NonSingularQueryError
Auto Trait Implementations§
impl Freeze for NonSingularQueryError
impl RefUnwindSafe for NonSingularQueryError
impl Send for NonSingularQueryError
impl Sync for NonSingularQueryError
impl Unpin for NonSingularQueryError
impl UnwindSafe for NonSingularQueryError
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