pub fn to_socket_addr(addr: &Multiaddr) -> Result<SocketAddr, String>
Expand description
Attempts to convert a multiaddr of the form /[ip4,ip6]/{}/[udp,tcp]/{port}
into
a SocketAddr value.
pub fn to_socket_addr(addr: &Multiaddr) -> Result<SocketAddr, String>
Attempts to convert a multiaddr of the form /[ip4,ip6]/{}/[udp,tcp]/{port}
into
a SocketAddr value.