Modules

Structs

Enums

Functions

  • parse the &[Protocol] into the "/dns/<domain>/tcp/<port>", "/dns4/<domain>/tcp/<port>", or "/dns6/<domain>/tcp/<port>" prefix and unparsed &[Protocol] suffix.
  • parse the &[Protocol] into the "/ln-handshake/<version>" prefix and unparsed &[Protocol] suffix.
  • parse the &[Protocol] into the "/ip4/<addr>/tcp/<port>" or "/ip6/<addr>/tcp/<port>" prefix and unparsed &[Protocol] suffix.
  • parse the &[Protocol] into the "/memory/<port>" prefix and unparsed &[Protocol] suffix.
  • parse the &[Protocol] into the "/ln-noise-ik/<pubkey>" prefix and unparsed &[Protocol] suffix.