Trait tokio_postgres::params::IntoConnectParams
[−]
[src]
pub trait IntoConnectParams {
fn into_connect_params(
self
) -> Result<ConnectParams, Box<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<Error + 'static + Sync + Send>>
self
) -> Result<ConnectParams, Box<Error + 'static + Sync + Send>>
Converts the value of self into a ConnectParams.
Implementors
impl<'a> IntoConnectParams for &'a strimpl IntoConnectParams for ConnectParamsimpl IntoConnectParams for String