Function get_port_from_multiaddr

Source
pub fn get_port_from_multiaddr(multi_addr: &Multiaddr) -> Option<u16>
Expand description

Returns the UDP port from the provided MultiAddr.