pub async fn tcp_connect_in(addr: SocketAddr, pool: PoolRef) -> Result<Io> {
        let sock = glommio::net::TcpStream::connect(addr).await?;
        sock.set_nodelay(true)?;
        Ok(Io::with_memory_pool(TcpStream::new(sock), pool))
    }
/// Opens a TCP connection to a remote host and use specified memory pool.
Opens a TCP connection to a remote host and use specified memory pool.
Opens a TCP connection to a remote host and use specified memory pool .
pub async fn tcp_connect_in(addr: SocketAddr, pool: PoolRef) -> Result<Io> {
        let sock = glommio::net::TcpStream::connect(addr).await?;
        sock.set_nodelay(true)?;
        Ok(Io::with_memory_pool(TcpStream::new(sock), pool))
    }
pub async fn tcp_connect_in ( addr : SocketAddr , pool : PoolRef ) -> Result < Io > { let sock = glommio :: net :: TcpStream :: connect ( addr ) . await ? ; sock . set_nodelay ( true ) ? ; Ok ( Io :: with_memory_pool ( TcpStream :: new ( sock ) , pool ) ) }
Opens a TCP connection to a remote host and use specified memory pool.
Opens a TCP connection to a remote host and use specified memory pool .
addr
SocketAddr
pool
PoolRef
addr
SocketAddr
pool
PoolRef