Function qp_postgres::connect [−][src]
pub fn connect<T>(config: Config, tls: T, pool_size: usize) -> PgPool<T> where
T: MakeTlsConnect<Socket> + Clone + Send + Sync,
T::Stream: Send + Sync + 'static,
T::TlsConnect: Send + Sync,
<T::TlsConnect as TlsConnect<Socket>>::Future: Send,