pub enum InvalidSelectorError {
InvalidDeepWildcard,
InvalidWildcard,
ParseError(Box<Error<Rule>>),
InvalidIndex,
UnknownType,
UnexpectedToken(String, &'static str),
InternalError,
}
Expand description
Error for invalid PII selectors.
Variants§
InvalidDeepWildcard
Deep wildcard used more than once.
InvalidWildcard
Wildcard must be part of a path.
ParseError(Box<Error<Rule>>)
Invalid selector syntax.
InvalidIndex
Invalid index.
UnknownType
Unknown value.
UnexpectedToken(String, &'static str)
Internal parser bug: An unexpected item was consumed.
InternalError
Internal parsing error, this should never happen and is a bug that needs to be fixed.
Trait Implementations§
source§impl Debug for InvalidSelectorError
impl Debug for InvalidSelectorError
source§impl Display for InvalidSelectorError
impl Display for InvalidSelectorError
source§impl Error for InvalidSelectorError
impl Error for InvalidSelectorError
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 InvalidSelectorError
impl RefUnwindSafe for InvalidSelectorError
impl Send for InvalidSelectorError
impl Sync for InvalidSelectorError
impl Unpin for InvalidSelectorError
impl UnwindSafe for InvalidSelectorError
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