Lines Matching defs:TcpStream
45 pub struct TcpStream { struct
46 inner: IoSource<net::TcpStream>, argument
49 impl TcpStream { implementation
52 pub fn connect(addr: SocketAddr) -> io::Result<TcpStream> { in connect()
69 pub fn from_std(stream: net::TcpStream) -> TcpStream { in from_std()
175 impl Read for TcpStream { implementation
185 impl<'a> Read for &'a TcpStream { implementation
195 impl Write for TcpStream { implementation
209 impl<'a> Write for &'a TcpStream { implementation
223 impl event::Source for TcpStream { implementation
247 impl fmt::Debug for TcpStream { implementation
254 impl IntoRawFd for TcpStream { implementation
261 impl AsRawFd for TcpStream { implementation
268 impl FromRawFd for TcpStream { implementation
275 unsafe fn from_raw_fd(fd: RawFd) -> TcpStream { in from_raw_fd()
281 impl IntoRawSocket for TcpStream { implementation
288 impl AsRawSocket for TcpStream { implementation
295 impl FromRawSocket for TcpStream { implementation
302 unsafe fn from_raw_socket(socket: RawSocket) -> TcpStream { in from_raw_socket()