Searched defs:TcpListener (Results 1 – 12 of 12) sorted by relevance
38 pub struct TcpListener { struct39 inner: IoSource<net::TcpListener>, argument42 impl TcpListener { implementation52 pub fn bind(addr: SocketAddr) -> io::Result<TcpListener> { in bind()75 pub fn from_std(listener: net::TcpListener) -> TcpListener { in from_std()127 impl event::Source for TcpListener { implementation151 impl fmt::Debug for TcpListener { implementation158 impl IntoRawFd for TcpListener { implementation165 impl AsRawFd for TcpListener { implementation172 impl FromRawFd for TcpListener { implementation[all …]
91 pub fn listen(self, backlog: u32) -> io::Result<TcpListener> { in listen()
57 impl TcpListener { impl97 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> { in bind()117 fn bind_addr(addr: SocketAddr) -> io::Result<TcpListener> { in bind_addr()217 pub fn from_std(listener: net::TcpListener) -> io::Result<TcpListener> { in from_std()245 pub fn into_std(self) -> io::Result<std::net::TcpListener> { in into_std()265 pub(crate) fn new(listener: mio::net::TcpListener) -> io::Result<TcpListener> { in new()350 impl TryFrom<net::TcpListener> for TcpListener { implementation362 impl fmt::Debug for TcpListener { implementation373 impl AsRawFd for TcpListener { implementation385 impl AsRawSocket for TcpListener { implementation
481 pub fn listen(self, backlog: u32) -> io::Result<TcpListener> { in listen()
24 pub fn into_inner(self) -> TcpListener { in into_inner()45 fn as_ref(&self) -> &TcpListener { in as_ref()51 fn as_mut(&mut self) -> &mut TcpListener { in as_mut()
24 pub(crate) fn listen(_: TcpSocket, _: u32) -> io::Result<net::TcpListener> { in listen()
172 pub fn listen(self) -> io::Result<TcpListener> { in listen()
69 pub(crate) fn listen(socket: TcpSocket, backlog: u32) -> io::Result<net::TcpListener> { in listen()
53 pub(crate) fn listen(socket: TcpSocket, backlog: u32) -> io::Result<net::TcpListener> { in listen()
43 using TcpListener = System.Net.Sockets.TcpListener; typedef
42 using TcpListener = System.Net.Sockets.TcpListener; typedef
185 pub fn listen(self) -> io::Result<TcpListener> { in listen()