Enum reql::error::Error
[−]
pub enum Error { Compile(String), Runtime(RuntimeError), Driver(DriverError), }
The most generic error message in ReQL
Variants
Compile(String)
Runtime(RuntimeError)
Driver(DriverError)
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<RuntimeError> for Error
fn from(err: RuntimeError) -> Error
Performs the conversion.
impl From<DriverError> for Error
fn from(err: DriverError) -> Error
Performs the conversion.
impl From<InitializationError> for Error
[src]
Converts from r2d2 error
fn from(err: InitializationError) -> Error
Performs the conversion.
impl From<GetTimeout> for Error
[src]
fn from(err: GetTimeout) -> Error
Performs the conversion.
impl From<ConnectionError> for Error
[src]
fn from(err: ConnectionError) -> Error
Performs the conversion.
impl From<ResponseError> for Error
[src]
fn from(err: ResponseError) -> Error
Performs the conversion.
impl<T, E> From<SendError<T, E>> for Error
[src]
impl From<AvailabilityError> for Error
[src]
fn from(err: AvailabilityError) -> Error
Performs the conversion.
impl From<Error> for Error
[src]
Converts from IO error
impl From<Utf8Error> for Error
[src]
Converts from Utf8Error error
impl From<Error> for Error
[src]
Converts from serde_json error