[−]Trait c3p0_pg::r2d2::postgres::params::IntoConnectParams
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 + Send + Sync>>
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>
Converts the value of self
into a ConnectParams
.
Implementations on Foreign Types
impl IntoConnectParams for String
fn into_connect_params(
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>
impl<'a> IntoConnectParams for &'a str
fn into_connect_params(
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>
Implementors
impl IntoConnectParams for ConnectParams
fn into_connect_params(
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>
self
) -> Result<ConnectParams, Box<dyn Error + 'static + Send + Sync>>