pub fn multiaddr_from_text(s: &str) -> Result<Vec<u8>>
A text multiaddr in binary: /ip4|ip6/…, /tcp|udp/…, /quic-v1, /p2p/<id>, in any order the text gives them. Anything else is refused rather than guessed.
/ip4|ip6/…
/tcp|udp/…
/quic-v1
/p2p/<id>