pub enum RPQParseError {
Unexpected {
position: usize,
token: String,
},
Eof,
MissingParen,
MalformedBound(String),
}Variants§
Trait Implementations§
Source§impl Debug for RPQParseError
impl Debug for RPQParseError
Source§impl Display for RPQParseError
impl Display for RPQParseError
impl Eq for RPQParseError
Source§impl Error for RPQParseError
impl Error for RPQParseError
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 PartialEq for RPQParseError
impl PartialEq for RPQParseError
impl StructuralPartialEq for RPQParseError
Auto Trait Implementations§
impl Freeze for RPQParseError
impl RefUnwindSafe for RPQParseError
impl Send for RPQParseError
impl Sync for RPQParseError
impl Unpin for RPQParseError
impl UnsafeUnpin for RPQParseError
impl UnwindSafe for RPQParseError
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