Module network_address Copy item path Source encrypted DnsName A minimally parsed DNS name. We don’t really do any checking other than
enforcing: EmptyError NetworkAddress Overview IpFilter ParseError Possible errors when parsing a human-readable NetworkAddress
. Protocol A single protocol in the NetworkAddress
protocol stack. parse_dns_tcp parse the &[Protocol]
into the "/dns/<domain>/tcp/<port>"
,
"/dns4/<domain>/tcp/<port>"
, or "/dns6/<domain>/tcp/<port>"
prefix and
unparsed &[Protocol]
suffix. parse_handshake parse the &[Protocol]
into the "/ln-handshake/<version>"
prefix and
unparsed &[Protocol]
suffix. parse_ip_tcp parse the &[Protocol]
into the "/ip4/<addr>/tcp/<port>"
or
"/ip6/<addr>/tcp/<port>"
prefix and unparsed &[Protocol]
suffix. parse_memory parse the &[Protocol]
into the "/memory/<port>"
prefix and unparsed
&[Protocol]
suffix. parse_noise_ik parse the &[Protocol]
into the "/ln-noise-ik/<pubkey>"
prefix and
unparsed &[Protocol]
suffix. parse_tcp