Searched defs:SocketAddr (Results 1 – 4 of 4) sorted by relevance
40 pub enum SocketAddr { enum116 impl SocketAddr { impl136 pub const fn new(ip: IpAddr, port: u16) -> SocketAddr { in new()572 impl From<SocketAddrV4> for SocketAddr { implementation574 fn from(sock4: SocketAddrV4) -> SocketAddr { in from()580 impl From<SocketAddrV6> for SocketAddr { implementation582 fn from(sock6: SocketAddrV6) -> SocketAddr { in from()588 impl<I: Into<IpAddr>> From<(I, u16)> for SocketAddr { implementation595 fn from(pieces: (I, u16)) -> SocketAddr { in from()
84 addr: &SocketAddr, in sendto()93 addr: &SocketAddr, in _sendto()
890 impl Serialize for net::SocketAddr { implementation
1650 impl<'de> Deserialize<'de> for net::SocketAddr { implementation