new

Function new 

Source
pub async fn new(
    server: impl ToSocketAddrs,
    dest: &Addr,
    auth: Option<AuthMethod>,
) -> Result<TcpStream>