pub type CreatePoolError = CreatePoolError<ConfigError, Error>;Expand description
Type alias for using deadpool::managed::CreatePoolError with tokio_postgres.
Aliased Type§
pub 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