[]Trait c3p0_pool_pg::postgres::params::IntoConnectParams

pub trait IntoConnectParams {
    fn into_connect_params(
        self
    ) -> Result<ConnectParams, Box<dyn Error + 'static + Sync + Send>>; }

A trait implemented by types that can be converted into a ConnectParams.

Required methods

fn into_connect_params(
    self
) -> Result<ConnectParams, Box<dyn Error + 'static + Sync + Send>>

Converts the value of self into a ConnectParams.

Loading content...

Implementations on Foreign Types

impl IntoConnectParams for String

impl<'a> IntoConnectParams for &'a str

Loading content...

Implementors

impl IntoConnectParams for ConnectParams

Loading content...