pub enum InvalidPredicateError {
UnknownProperty {
property: Box<str>,
},
UnknownPredicate {
name: Box<str>,
},
Other {
msg: Box<str>,
},
}Variants§
UnknownProperty
The property specified in #set! <prop> is not known.
UnknownPredicate
Predicate is unknown/unsupported by this query.
Other
Implementations§
Source§impl InvalidPredicateError
impl InvalidPredicateError
pub fn unknown(predicate: UserPredicate<'_>) -> Self
Trait Implementations§
Source§impl Debug for InvalidPredicateError
impl Debug for InvalidPredicateError
Source§impl Display for InvalidPredicateError
impl Display for InvalidPredicateError
Source§impl Error for InvalidPredicateError
impl Error for InvalidPredicateError
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<'a> From<&'a str> for InvalidPredicateError
impl<'a> From<&'a str> for InvalidPredicateError
Auto Trait Implementations§
impl Freeze for InvalidPredicateError
impl RefUnwindSafe for InvalidPredicateError
impl Send for InvalidPredicateError
impl Sync for InvalidPredicateError
impl Unpin for InvalidPredicateError
impl UnwindSafe for InvalidPredicateError
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