Searched defs:UnixListener (Results 1 – 8 of 8) sorted by relevance
11 pub struct UnixListener { struct12 inner: IoSource<net::UnixListener>, argument15 impl UnixListener { impl17 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()23 pub fn bind_addr(address: &SocketAddr) -> io::Result<UnixListener> { in bind_addr()33 pub fn from_std(listener: net::UnixListener) -> UnixListener { in from_std()58 impl event::Source for UnixListener { implementation82 impl fmt::Debug for UnixListener { implementation88 impl IntoRawFd for UnixListener { implementation94 impl AsRawFd for UnixListener { implementation[all …]
58 impl UnixListener { impl59 pub(crate) fn new(listener: mio::net::UnixListener) -> io::Result<UnixListener> { in new()135 pub fn from_std(listener: net::UnixListener) -> io::Result<UnixListener> { in from_std()161 pub fn into_std(self) -> io::Result<std::os::unix::net::UnixListener> { in into_std()212 impl TryFrom<std::os::unix::net::UnixListener> for UnixListener { implementation224 impl fmt::Debug for UnixListener { implementation230 impl AsRawFd for UnixListener { implementation236 impl AsFd for UnixListener { implementation
171 pub fn listen(self, backlog: u32) -> io::Result<UnixListener> { in listen()
24 pub fn into_inner(self) -> UnixListener { in into_inner()45 fn as_ref(&self) -> &UnixListener { in as_ref()51 fn as_mut(&mut self) -> &mut UnixListener { in as_mut()
7 impl Listener for tokio::net::UnixListener { implementation
24 pub(crate) fn bind_addr(_: &SocketAddr) -> io::Result<net::UnixListener> { in bind_addr()
12 pub(crate) fn bind_addr(address: &SocketAddr) -> io::Result<net::UnixListener> { in bind_addr()
441 fn as_ref(&self) -> &UnixListener { in as_ref()449 fn deref(&self) -> &UnixListener { in deref()