referrerpolicy=no-referrer-when-downgrade

Function sc_network::config::parse_addr

source ·
pub fn parse_addr(addr: Multiaddr) -> Result<(PeerId, Multiaddr), ParseErr>
Expand description

Splits a Multiaddress into a Multiaddress and PeerId.