Lines Matching refs:SocketAddr
117 pub struct SocketAddr { struct
123 fn to_socket_addr(&self) -> result::Result<SocketAddr, AddrParseError>; in to_socket_addr() argument
126 impl ToSocketAddr for SocketAddr { implementation
127 fn to_socket_addr(&self) -> result::Result<SocketAddr, AddrParseError> { in to_socket_addr() argument
133 fn to_socket_addr(&self) -> result::Result<SocketAddr, AddrParseError> { in to_socket_addr() argument
139 fn to_socket_addr(&self) -> result::Result<SocketAddr, AddrParseError> { in to_socket_addr() argument
141 Ok(SocketAddr { cid, port }) in to_socket_addr()
146 fn to_socket_addr(&self) -> result::Result<SocketAddr, AddrParseError> { in to_socket_addr() argument
151 impl FromStr for SocketAddr { implementation
156 fn from_str(s: &str) -> Result<SocketAddr, AddrParseError> { in from_str() argument
162 Ok(SocketAddr { in from_str()
169 impl fmt::Display for SocketAddr { implementation
447 pub fn accept(&self) -> io::Result<(VsockStream, SocketAddr)> { in accept() argument
475 SocketAddr { in accept()