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
.
Implementations on Foreign Types
impl<'a> IntoConnectParams for &'a str
[src]
fn into_connect_params(
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>
[src]
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>
impl IntoConnectParams for String
[src]
fn into_connect_params(
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>
[src]
self
) -> Result<ConnectParams, Box<Error + 'static + Send + Sync>>
Implementors
impl IntoConnectParams for ConnectParams