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
Auth(String)
Connection(ConnectionError)
Response(ResponseError)
Lock(String)
Json(Error)
Protobuf(ProtobufError)
Scram(ScramError)
Other(String)
Trait Implementations
impl Debug for DriverError
[src]
impl Display for DriverError
impl Error for DriverError
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<ConnectionError> for DriverError
fn from(err: ConnectionError) -> DriverError
Performs the conversion.
impl From<ResponseError> for DriverError
fn from(err: ResponseError) -> DriverError
Performs the conversion.
impl From<Error> for DriverError
fn from(err: Error) -> DriverError
Performs the conversion.
impl From<ProtobufError> for DriverError
fn from(err: ProtobufError) -> DriverError
Performs the conversion.
impl From<ScramError> for DriverError
fn from(err: ScramError) -> DriverError
Performs the conversion.