pub fn connect<'b>(&mut self,
                   hostname: &str,
                   port: usize) -> Result<NetStream<'b, <T as Protocol>::Output>, String> {
        self.inner.connect(hostname, port, &mut self.event_loop)
    }
/// connect to the supplied hostname and port
/// any data that arrives on the connection will be put into a Buf
/// and sent down the supplied Sender channel along with the Token of the connection
connect to the supplied hostname and port
any data that arrives on the connection will be put into a Buf
and sent down the supplied Sender channel along with the Token of the connection
connect to the supplied hostname and port any data that arrives on the connection will be put into a Buf and sent down the supplied Sender channel along with the Token of the connection
pub fn connect<'b>(&mut self,
                   hostname: &str,
                   port: usize) -> Result<NetStream<'b, <T as Protocol>::Output>, String> {
        self.inner.connect(hostname, port, &mut self.event_loop)
    }
pub fn connect < ' b > ( & mut self , hostname : & str , port : usize ) -> Result < NetStream < ' b , < T as Protocol > :: Output > , String > { self . inner . connect ( hostname , port , & mut self . event_loop ) }
connect to the supplied hostname and port
any data that arrives on the connection will be put into a Buf
and sent down the supplied Sender channel along with the Token of the connection
connect to the supplied hostname and port any data that arrives on the connection will be put into a Buf and sent down the supplied Sender channel along with the Token of the connection
&mut self
hostname
&str
port
usize
&mut self
hostname
&str
port
usize