pub enum QueryBuilderError {
MiddlewareSetupError(MiddlewareSetupError),
ParserError(QueryParseError),
EvaluationError(EvaluationError),
}Variants§
MiddlewareSetupError(MiddlewareSetupError)
ParserError(QueryParseError)
EvaluationError(EvaluationError)
Trait Implementations§
Source§impl Debug for QueryBuilderError
impl Debug for QueryBuilderError
Source§impl Display for QueryBuilderError
impl Display for QueryBuilderError
Source§impl Error for QueryBuilderError
impl Error for QueryBuilderError
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<EvaluationError> for QueryBuilderError
impl From<EvaluationError> for QueryBuilderError
Source§fn from(e: EvaluationError) -> Self
fn from(e: EvaluationError) -> Self
Converts to this type from the input type.
Source§impl From<MiddlewareSetupError> for QueryBuilderError
impl From<MiddlewareSetupError> for QueryBuilderError
Source§fn from(e: MiddlewareSetupError) -> Self
fn from(e: MiddlewareSetupError) -> Self
Converts to this type from the input type.
Source§impl From<QueryParseError> for QueryBuilderError
impl From<QueryParseError> for QueryBuilderError
Source§fn from(e: QueryParseError) -> Self
fn from(e: QueryParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryBuilderError
impl !RefUnwindSafe for QueryBuilderError
impl Send for QueryBuilderError
impl Sync for QueryBuilderError
impl Unpin for QueryBuilderError
impl !UnwindSafe for QueryBuilderError
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