pub type PoolError = Error;
Available on crate feature
r2d2
only.Expand description
A re-export of r2d2::Error
, which is only used by methods on r2d2::Pool
.
Aliased Type§
struct PoolError(/* private fields */);
Trait Implementations
Source§impl Error for Error
impl Error for Error
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more