Function ergol::connect

source ·
pub async fn connect<T: MakeTlsConnect<Socket>>(
    config: &str,
    tls: T
) -> Result<(Ergol, Connection<Socket, T::Stream>), Error>
Expand description

Connects to the specified database.