Trait postgres::params::IntoConnectParams
[−]
[src]
pub trait IntoConnectParams { fn into_connect_params(
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>; }
A trait implemented by types that can be converted into a ConnectParams
.
Required Methods
fn into_connect_params(
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>
Converts the value of self
into a ConnectParams
.
Implementors
impl<'a> IntoConnectParams for &'a str
impl IntoConnectParams for String
impl IntoConnectParams for ConnectParams