sqlx_core::net::tls

Function handshake

Source
pub async fn handshake<S, Ws>(
    socket: S,
    config: TlsConfig<'_>,
    with_socket: Ws,
) -> Result<Ws::Output>
where S: Socket, Ws: WithSocket,