Crate inet2_addr
source ·Expand description
Universal internet addresses that support IPv4, IPv6 and Tor
Structs
Internet socket address of
InetSocketAddr
type, extended with a
transport-level protocol information (see Transport
)Local node, keeping its id and private key
Address type do not support ONION address format and can be used only with
IPv4 or IPv6 addresses
Internet P2P node address.
Internet P2P node id, represented by a public key of the node.
Node id contains invalid public key
Internet P2P node address which may omit port number.
Enums
Errors during address string parse process
A universal address covering IPv4, IPv6 and Tor in a single byte sequence
of 32 bytes.
Internet socket address, which consists of
InetAddr
IP or Tor address
and a port number (without protocol specification, i.e. TCP/UDP etc). If you
need to include transport-level protocol information into the socket
details, pls check InetSocketAddrExt
Errors parsing
NodeAddr
string representationA universal address covering IPv4, IPv6 and Tor in a single byte sequence
of 32 bytes, which may contain optional port number part.
Server address representing connection to a remote or a local server over
ZMQ protocol.
Errors parsing
ServerAddr
string representationAddress of microservice which may be local or remote; standalone process or
a thread, connectable via ZMQ.
Errors parsing
ServiceAddr
string representationTransport protocols that may be part of
InetSocketAddrExt