[][src]Function sc_network::config::parse_addr

pub fn parse_addr(mut addr: Multiaddr) -> Result<(PeerId, Multiaddr), ParseErr>

Splits a Multiaddress into a Multiaddress and PeerId.