Searched defs:TcpListener (Results 1 – 4 of 4) sorted by relevance
25 pub struct TcpListener { struct26 pub(crate) inner: net::TcpListener, argument31 impl TcpListener { argument43 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 { implementation173 impl fmt::Debug for TcpListener { implementation179 impl IntoRawSocket for TcpListener { implementation185 impl AsRawSocket for TcpListener { implementation191 impl FromRawSocket for TcpListener { implementation[all …]
38 pub struct TcpListener { struct39 source: AsyncSource<ylong_io::TcpListener>, argument42 impl TcpListener { impl71 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> { in bind()204 impl AsRawSocket for TcpListener { implementation217 impl AsRawFd for TcpListener { implementation
28 pub struct TcpListener { struct29 pub(crate) inner: net::TcpListener, argument32 impl TcpListener { implementation37 pub fn bind(addr: SocketAddr) -> io::Result<TcpListener> { in bind()157 impl Source for TcpListener { implementation185 impl std::fmt::Debug for TcpListener { implementation
73 pub(crate) fn listen(self, max_connect: c_int) -> io::Result<TcpListener> { in listen()