pub type CreatePoolError = CreatePoolError<Infallible>;
Available on crate feature
postgres
only.Expand description
Type alias for using deadpool::managed::CreatePoolError
with diesel
.
Aliased Type§
pub enum CreatePoolError {
Config(Infallible),
Build(BuildError),
}
Variants§
Config(Infallible)
This variant is used for configuration errors
Build(BuildError)
This variant is used for errors while building the pool