Home
last modified time | relevance | path

Searched defs:UnixListener (Results 1 – 3 of 3) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
Dlistener.rs27 pub struct UnixListener { struct
28 pub(crate) inner: net::UnixListener, argument
31 impl UnixListener { implementation
42 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()
110 pub fn from_std(socket: net::UnixListener) -> UnixListener { in from_std()
126 pub fn try_clone(&self) -> io::Result<UnixListener> { in try_clone()
165 impl Source for UnixListener { implementation
184 impl std::fmt::Debug for UnixListener { implementation
190 impl IntoRawFd for UnixListener { implementation
196 impl FromRawFd for UnixListener { implementation
[all …]
Dsocket.rs26 pub(crate) fn bind(path: &Path) -> io::Result<net::UnixListener> { in bind()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/
Dlistener.rs25 pub struct UnixListener { struct
26 source: AsyncSource<ylong_io::UnixListener>, argument
29 impl UnixListener { impl
44 pub fn bind<P: AsRef<Path>>(path: P) -> Result<UnixListener> { in bind()
87 pub fn from_std(listener: net::UnixListener) -> Result<UnixListener> { in from_std()
111 impl fmt::Debug for UnixListener { implementation
117 impl AsRawFd for UnixListener { implementation
123 impl AsFd for UnixListener { implementation