Enum reql::errors::DriverError
[−]
[src]
pub enum DriverError { Auth(String), Io(IoError), Response(ResponseError), Json(JsonError), Protobuf(ProtobufError), 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)
Io(IoError)
Response(ResponseError)
Json(JsonError)
Protobuf(ProtobufError)
Other(String)
Trait Implementations
impl Debug for DriverError
[src]
impl Display for DriverError
[src]
impl Error for DriverError
[src]
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<IoError> for DriverError
[src]
fn from(err: IoError) -> DriverError
Performs the conversion.
impl From<ResponseError> for DriverError
[src]
fn from(err: ResponseError) -> DriverError
Performs the conversion.
impl From<JsonError> for DriverError
[src]
fn from(err: JsonError) -> DriverError
Performs the conversion.
impl From<ProtobufError> for DriverError
[src]
fn from(err: ProtobufError) -> DriverError
Performs the conversion.