Home
last modified time | relevance | path

Searched defs:TcpListener (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
H A Dlistener.rs25 pub struct TcpListener { struct
31 impl TcpListener { implementation
43 pub fn bind(addr: SocketAddr) -> io::Result<TcpListener> { in bind()
53 pub fn from_std(listener: net::TcpListener) -> TcpListener { in from_std()
144 impl Source for TcpListener { implementation
164 impl fmt::Debug for TcpListener { implementation
170 impl IntoRawSocket for TcpListener { implementation
176 impl AsRawSocket for TcpListener { implementation
182 impl FromRawSocket for TcpListener { implementation
184 unsafe fn from_raw_socket(socket: RawSocket) -> TcpListener { in from_raw_socket()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
H A Dlistener.rs38 pub struct TcpListener { struct
39 source: AsyncSource<ylong_io::TcpListener>, argument
42 impl TcpListener { implementation
71 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> { in bind()
233 impl AsRawSocket for TcpListener { implementation
248 impl AsRawFd for TcpListener { implementation
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
H A Dlistener.rs28 pub struct TcpListener { struct
32 impl TcpListener { implementation
37 pub fn bind(addr: SocketAddr) -> io::Result<TcpListener> { in bind()
175 impl Source for TcpListener { implementation
194 impl std::fmt::Debug for TcpListener { implementation