Skip to main content

connection_config

Function connection_config 

Source
pub fn connection_config(
    config: &Configuration,
) -> Result<PostgresConfig, BackendFailure>
Expand description

Builds the connection configuration from resolved settings.

§Errors

Returns a redacted failure when no connection string was supplied or when a bounded value is outside the adapter’s accepted range.