Enum reql::error::ConnectionError
[−]
pub enum ConnectionError { Initialization(InitializationError), Timeout(GetTimeout), Io(Error), Other(String), }
Connection related errors
Variants
Initialization(InitializationError)
Timeout(GetTimeout)
Io(Error)
Other(String)
Trait Implementations
impl Debug for ConnectionError
[src]
impl Display for ConnectionError
impl Error for ConnectionError
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<InitializationError> for ConnectionError
fn from(err: InitializationError) -> ConnectionError
Performs the conversion.
impl From<GetTimeout> for ConnectionError
fn from(err: GetTimeout) -> ConnectionError
Performs the conversion.
impl From<Error> for ConnectionError
fn from(err: Error) -> ConnectionError
Performs the conversion.