transport_name

Function transport_name 

Source
pub fn transport_name(addr: &str) -> &'static str
Expand description

Return a transport keyword for a multiaddr string.

For circuit-relay addresses the final transport (after the relay hop) is reported so the UI shows how the target peer is reachable, not how the relay is reached.