Searched defs:UnixListener (Results 1 – 5 of 5) sorted by relevance
41 pub struct UnixListener(Socket); struct44 impl fmt::Debug for UnixListener { implementation55 impl UnixListener { implementation72 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()141 pub fn bind_addr(socket_addr: &SocketAddr) -> io::Result<UnixListener> { in bind_addr()208 pub fn try_clone(&self) -> io::Result<UnixListener> { in try_clone()316 impl AsRawFd for UnixListener { implementation324 impl FromRawFd for UnixListener { implementation326 unsafe fn from_raw_fd(fd: RawFd) -> UnixListener { in from_raw_fd()332 impl IntoRawFd for UnixListener { implementation[all …]
220 type UnixListener struct { struct221 fd *netFD222 path string223 unlink bool224 unlinkOnce sync.Once227 func (ln *UnixListener) ok() bool { return ln != nil && ln.fd != nil }234 func (l *UnixListener) SyscallConn() (syscall.RawConn, error) {243 func (l *UnixListener) AcceptUnix() (*UnixConn, error) {256 func (l *UnixListener) Accept() (Conn, error) {269 func (l *UnixListener) Close() error {[all …]
41 pub struct UnixListener(Socket); struct44 impl fmt::Debug for UnixListener { implementation55 impl UnixListener { impl72 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()137 pub fn bind_addr(socket_addr: &SocketAddr) -> io::Result<UnixListener> { in bind_addr()204 pub fn try_clone(&self) -> io::Result<UnixListener> { in try_clone()312 impl AsRawFd for UnixListener { implementation320 impl FromRawFd for UnixListener { implementation322 unsafe fn from_raw_fd(fd: RawFd) -> UnixListener { in from_raw_fd()328 impl IntoRawFd for UnixListener { implementation[all …]
41 pub struct UnixListener(Socket); struct44 impl fmt::Debug for UnixListener { implementation55 impl UnixListener { implementation72 pub fn bind<P: AsRef<Path>>(path: P) -> io::Result<UnixListener> { in bind()137 pub fn bind_addr(socket_addr: &SocketAddr) -> io::Result<UnixListener> { in bind_addr()204 pub fn try_clone(&self) -> io::Result<UnixListener> { in try_clone()312 impl AsRawFd for UnixListener { implementation320 impl FromRawFd for UnixListener { implementation322 unsafe fn from_raw_fd(fd: RawFd) -> UnixListener { in from_raw_fd()328 impl IntoRawFd for UnixListener { implementation[all …]