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