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