Lines Matching defs:TcpStream
72 impl TcpStream { implementation
111 pub async fn connect<A: ToSocketAddrs>(addr: A) -> io::Result<TcpStream> { in connect()
132 async fn connect_addr(addr: SocketAddr) -> io::Result<TcpStream> { in connect_addr()
137 pub(crate) async fn connect_mio(sys: mio::net::TcpStream) -> io::Result<TcpStream> { in connect_mio()
155 pub(crate) fn new(connected: mio::net::TcpStream) -> io::Result<TcpStream> { in new()
189 pub fn from_std(stream: std::net::TcpStream) -> io::Result<TcpStream> { in from_std()
229 pub fn into_std(self) -> io::Result<std::net::TcpStream> { in into_std()
1041 impl TryFrom<std::net::TcpStream> for TcpStream { implementation
1055 impl AsyncRead for TcpStream { implementation
1065 impl AsyncWrite for TcpStream { implementation
1098 impl fmt::Debug for TcpStream { implementation
1109 impl AsRawFd for TcpStream { implementation
1121 impl AsRawSocket for TcpStream { implementation