pub fn get_transport_info(addr: &str) -> (&'static str, &'static str)Expand description
Return an emoji and transport keyword for a multiaddr string.
Emoji table:
| Transport | Emoji |
|---|---|
| webrtc-direct | π |
| webrtc (circuit) | π |
| webtransport | π |
| websocket (wss) | πΈοΈ |
| tcp | π |
| quic | β‘ |
| p2p-circuit | π |
| unknown | β |
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.