Home
last modified time | relevance | path

Searched defs:TcpStream (Results 1 – 10 of 10) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dstream.rs28 pub struct TcpStream { struct
30 pub(crate) inner: net::TcpStream, argument
35 impl TcpStream { implementation
44 pub fn connect(addr: SocketAddr) -> io::Result<TcpStream> { in connect()
53 pub fn from_std(stream: net::TcpStream) -> TcpStream { in from_std()
262 impl fmt::Debug for TcpStream { implementation
300 impl IntoRawSocket for TcpStream { implementation
306 impl AsRawSocket for TcpStream { implementation
312 impl FromRawSocket for TcpStream { implementation
319 impl Source for TcpStream { implementation
Dlistener.rs72 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
Dstream.rs25 pub struct TcpStream { struct
27 pub inner: net::TcpStream, argument
30 impl TcpStream { impl
33 pub fn connect(addr: SocketAddr) -> io::Result<TcpStream> { in connect()
39 pub fn from_std(stream: net::TcpStream) -> TcpStream { in from_std()
220 impl Read for TcpStream { implementation
230 impl Write for TcpStream { implementation
244 impl Read for &TcpStream { implementation
256 impl Write for &TcpStream { implementation
273 impl std::fmt::Debug for TcpStream { implementation
[all …]
Dlistener.rs56 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept()
Dsocket.rs78 pub(crate) fn connect(self, addr: SocketAddr) -> io::Result<TcpStream> { in connect()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dstream.rs61 pub struct TcpStream { struct
62 pub(crate) source: AsyncSource<ylong_io::TcpStream>, argument
65 impl Debug for TcpStream { implementation
71 impl TcpStream { impl
598 impl AsyncRead for TcpStream { implementation
608 impl AsyncWrite for TcpStream { implementation
643 impl AsRawSocket for TcpStream { implementation
658 impl AsRawFd for TcpStream { implementation
Dlistener.rs99 pub async fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept()
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dconnector.rs147 mut conn: TcpStream, in tunnel()
151 ) -> Result<TcpStream, HttpClientError> { in tunnel()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
Dmod.rs88 async fn tcp_stream(eyeballs: HappyEyeballs) -> Result<TcpStream, HttpClientError> { in tcp_stream()
131 ) -> Result<TcpStream, HttpClientError> { in eyeballs_connect()
411 tcp_stream: TcpStream, in https_connect()
482 mut conn: TcpStream, in tunnel()
486 ) -> Result<TcpStream, Error> { in tunnel()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/dns/
Dhappy_eyeballs.rs113 async fn connect(&mut self) -> Result<TcpStream, io::Error> { in connect()
176 pub(crate) async fn connect(mut self) -> io::Result<TcpStream> { in connect()