Crate inet2_addr

Source
Expand description

Universal internet addresses that support IPv4, IPv6 and Tor

Structs§

InetSocketAddrExt
Internet socket address of InetSocketAddr type, extended with a transport-level protocol information (see Transport)
LocalNode
Local node, keeping its id and private key
NoOnionSupportError
Address type do not support ONION address format and can be used only with IPv4 or IPv6 addresses
NodeAddr
Internet P2P node address.
NodeId
Internet P2P node id, represented by a public key of the node.
NodeIdInvalidPubkey
Node id contains invalid public key
PartialNodeAddr
Internet P2P node address which may omit port number.

Enums§

AddrParseError
Errors during address string parse process
InetAddr
A universal address covering IPv4, IPv6 and Tor in a single byte sequence of 32 bytes.
InetSocketAddr
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
NodeAddrParseError
Errors parsing NodeAddr string representation
PartialSocketAddr
A universal address covering IPv4, IPv6 and Tor in a single byte sequence of 32 bytes, which may contain optional port number part.
ServerAddr
Server address representing connection to a remote or a local server over ZMQ protocol.
ServerAddrParseError
Errors parsing ServerAddr string representation
ServiceAddr
Address of microservice which may be local or remote; standalone process or a thread, connectable via ZMQ.
ServiceAddrParseError
Errors parsing ServiceAddr string representation
Transport
Transport protocols that may be part of InetSocketAddrExt