pub enum SelectorParserError {
Parse(ExpressionParseException),
InvalidOperation(String),
NotSupported(String),
}Expand description
What SelectorParser::parse fails with: the exceptions the managed
original throws.
Variants§
Parse(ExpressionParseException)
The text is not a selector (ExpressionParseException).
InvalidOperation(String)
The selector names a type, a property or a value that does not exist
or does not apply (InvalidOperationException).
NotSupported(String)
The selector cannot be created from this syntax
(NotSupportedException).
Trait Implementations§
Source§impl Clone for SelectorParserError
impl Clone for SelectorParserError
Source§impl Debug for SelectorParserError
impl Debug for SelectorParserError
Source§impl Display for SelectorParserError
impl Display for SelectorParserError
impl Eq for SelectorParserError
Source§impl Error for SelectorParserError
impl Error for SelectorParserError
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 From<ExpressionParseException> for SelectorParserError
impl From<ExpressionParseException> for SelectorParserError
Source§fn from(error: ExpressionParseException) -> Self
fn from(error: ExpressionParseException) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SelectorParserError
impl PartialEq for SelectorParserError
impl StructuralPartialEq for SelectorParserError
Auto Trait Implementations§
impl Freeze for SelectorParserError
impl RefUnwindSafe for SelectorParserError
impl Send for SelectorParserError
impl Sync for SelectorParserError
impl Unpin for SelectorParserError
impl UnsafeUnpin for SelectorParserError
impl UnwindSafe for SelectorParserError
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more