Searched defs:UnixListener (Results 1 – 8 of 8) sorted by relevance
11 pub struct UnixListener { struct12 inner: IoSource<net::UnixListener>, argument15 impl UnixListener { implementation17 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()27 pub fn from_std(listener: net::UnixListener) -> UnixListener { in from_std()52 impl event::Source for UnixListener { implementation76 impl fmt::Debug for UnixListener { implementation82 impl IntoRawFd for UnixListener { implementation88 impl AsRawFd for UnixListener { implementation94 impl FromRawFd for UnixListener { implementation[all …]
52 impl UnixListener { impl111 pub fn from_std(listener: net::UnixListener) -> io::Result<UnixListener> { in from_std()137 pub fn into_std(self) -> io::Result<std::os::unix::net::UnixListener> { in into_std()188 impl TryFrom<std::os::unix::net::UnixListener> for UnixListener { implementation200 impl fmt::Debug for UnixListener { implementation206 impl AsRawFd for UnixListener { implementation
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
9 pub(crate) fn bind(path: &Path) -> io::Result<net::UnixListener> { in bind()
41 pub(crate) fn bind(_: &Path) -> io::Result<net::UnixListener> { in bind()
456 fn as_ref(&self) -> &UnixListener { in as_ref()464 fn deref(&self) -> &UnixListener { in deref()
1382 listener: UnixListener, in new()