Enum reql::error::DriverError []

pub enum DriverError {
    Auth(String),
    Connection(ConnectionError),
    Response(ResponseError),
    Lock(String),
    Json(Error),
    Protobuf(ProtobufError),
    Scram(ScramError),
    Other(String),
}

An error has occurred within the driver

This may be a driver bug, or it may be an unfulfillable command, such as an unserializable query.

Variants

Trait Implementations

impl Debug for DriverError
[src]

Formats the value using the given formatter.

impl Display for DriverError

Formats the value using the given formatter.

impl Error for DriverError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<ConnectionError> for DriverError

Performs the conversion.

impl From<ResponseError> for DriverError

Performs the conversion.

impl From<Error> for DriverError

Performs the conversion.

impl From<ProtobufError> for DriverError

Performs the conversion.

impl From<ScramError> for DriverError

Performs the conversion.