[−][src]Trait c3p0_pg_async::pg_async::driver::tls::TlsConnect
An asynchronous function wrapping a stream in a TLS session.
Associated Types
type Stream: TlsStream + Unpin
The stream returned by the future.
type Error: Into<Box<dyn Error + 'static + Send + Sync>>
The error returned by the future.
type Future: Future
The future returned by the connector.
Required methods
fn connect(self, stream: S) -> Self::Future
Returns a future performing a TLS handshake over the stream.