Type Alias deadpool_postgres::CreatePoolError
source · pub type CreatePoolError = CreatePoolError<ConfigError, Error>;
Expand description
Type alias for using deadpool::managed::CreatePoolError
with tokio_postgres
.
Aliased Type§
enum CreatePoolError {
Config(ConfigError),
Build(BuildError<Error>),
}
Variants§
Config(ConfigError)
This variant is used for configuration errors
Build(BuildError<Error>)
This variant is used for errors while building the pool