Enum locustdb::QueryError
source · pub enum QueryError {
SytaxErrorCharsRemaining(String),
SyntaxErrorBytesRemaining(Vec<u8>),
ParseError(String),
FatalError(String, Backtrace),
NotImplemented(String),
TypeError(String),
Overflow,
}
Variants§
SytaxErrorCharsRemaining(String)
SyntaxErrorBytesRemaining(Vec<u8>)
ParseError(String)
FatalError(String, Backtrace)
NotImplemented(String)
TypeError(String)
Overflow
Trait Implementations§
source§impl Debug for QueryError
impl Debug for QueryError
source§impl Display for QueryError
impl Display for QueryError
source§impl Fail for QueryError
impl Fail for QueryError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl !Freeze for QueryError
impl !RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl UnwindSafe for QueryError
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