pub struct QueryResultsSyntaxError(/* private fields */);
Expand description
An error in the syntax of the parsed file.
Implementations§
Source§impl QueryResultsSyntaxError
impl QueryResultsSyntaxError
Sourcepub fn location(&self) -> Option<Range<TextPosition>>
pub fn location(&self) -> Option<Range<TextPosition>>
The location of the error inside of the file.
Trait Implementations§
Source§impl Debug for QueryResultsSyntaxError
impl Debug for QueryResultsSyntaxError
Source§impl Display for QueryResultsSyntaxError
impl Display for QueryResultsSyntaxError
Source§impl Error for QueryResultsSyntaxError
impl Error for QueryResultsSyntaxError
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<QueryResultsSyntaxError> for Error
impl From<QueryResultsSyntaxError> for Error
Source§fn from(error: QueryResultsSyntaxError) -> Self
fn from(error: QueryResultsSyntaxError) -> Self
Converts to this type from the input type.
Source§impl From<QueryResultsSyntaxError> for QueryResultsParseError
impl From<QueryResultsSyntaxError> for QueryResultsParseError
Source§fn from(source: QueryResultsSyntaxError) -> Self
fn from(source: QueryResultsSyntaxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryResultsSyntaxError
impl !RefUnwindSafe for QueryResultsSyntaxError
impl Send for QueryResultsSyntaxError
impl Sync for QueryResultsSyntaxError
impl Unpin for QueryResultsSyntaxError
impl !UnwindSafe for QueryResultsSyntaxError
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