Function sc_network::config::parse_addr [−][src]
pub fn parse_addr(addr: Multiaddr) -> Result<(PeerId, Multiaddr), ParseErr>
Expand description
Splits a Multiaddress into a Multiaddress and PeerId.
pub fn parse_addr(addr: Multiaddr) -> Result<(PeerId, Multiaddr), ParseErr>
Splits a Multiaddress into a Multiaddress and PeerId.