fn multiaddr2url(m: &Multiaddr) -> Option<Url>
"/dns/example.com/tcp/8080/http" -> "http://example.com:8080/"
Returns None on unsupported formats, or if there is a URL parsing error.
None
Note that Multiaddrs do NOT support a (URL) path, so that must be handled out-of-band.
Multiaddr
path