pub enum ContainerQueryParserError {
Parse(ExpressionParseException),
NotSupported(String),
}Expand description
What ContainerQueryParser::parse fails with: the exceptions the
managed original throws.
Variants§
Parse(ExpressionParseException)
The text is not a container query (ExpressionParseException).
NotSupported(String)
The query cannot be created from this syntax
(NotSupportedException).
Trait Implementations§
Source§impl Clone for ContainerQueryParserError
impl Clone for ContainerQueryParserError
Source§impl Debug for ContainerQueryParserError
impl Debug for ContainerQueryParserError
Source§impl Display for ContainerQueryParserError
impl Display for ContainerQueryParserError
impl Eq for ContainerQueryParserError
Source§impl Error for ContainerQueryParserError
impl Error for ContainerQueryParserError
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 ContainerQueryParserError
impl From<ExpressionParseException> for ContainerQueryParserError
Source§fn from(error: ExpressionParseException) -> Self
fn from(error: ExpressionParseException) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ContainerQueryParserError
Auto Trait Implementations§
impl Freeze for ContainerQueryParserError
impl RefUnwindSafe for ContainerQueryParserError
impl Send for ContainerQueryParserError
impl Sync for ContainerQueryParserError
impl Unpin for ContainerQueryParserError
impl UnsafeUnpin for ContainerQueryParserError
impl UnwindSafe for ContainerQueryParserError
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