Searched defs:UnixListener (Results 1 – 5 of 5) 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 { impl85 pub fn from_std(listener: net::UnixListener) -> io::Result<UnixListener> { in from_std()113 pub fn into_std(self) -> io::Result<std::os::unix::net::UnixListener> { in into_std()157 impl TryFrom<std::os::unix::net::UnixListener> for UnixListener { implementation169 impl fmt::Debug for UnixListener { implementation175 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()
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()