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