pub enum QueryDocumentError {
Parse(String),
Unsupported(String),
Document(String),
}Expand description
Errors produced while lowering a query document.
Variants§
Parse(String)
The document is malformed for a recognized construct.
Unsupported(String)
The document uses a construct this parser does not support.
Document(String)
A select, groupBy or order entry names nothing the document
defines (an alias no where block binds, an output no select or
groupBy produces).
Trait Implementations§
Source§impl Debug for QueryDocumentError
impl Debug for QueryDocumentError
Source§impl Display for QueryDocumentError
impl Display for QueryDocumentError
Source§impl Error for QueryDocumentError
impl Error for QueryDocumentError
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 Forget for QueryDocumentError
impl Freeze for QueryDocumentError
impl Move for QueryDocumentError
impl RefUnwindSafe for QueryDocumentError
impl Send for QueryDocumentError
impl Sync for QueryDocumentError
impl Unpin for QueryDocumentError
impl UnsafeUnpin for QueryDocumentError
impl UnwindSafe for QueryDocumentError
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