Function connect

Source
pub async fn connect(addr: &str) -> Result<Framed<TcpStream, PacketCodec>>
Expand description

Connect to a remote server and return the framed transport