Skip to main content

Module addr

Module addr 

Source
Expand description

References: identifiers paired with a network location.

Concrete grammar:

location     := zmq URL understood by [`ChannelAddr::from_zmq_url`]
proc-ref     := proc-id "@" location
actor-ref    := actor-id "@" location
port-ref     := port-id "@" location

proc-id      := label | "<" uid58 ">" | label "<" uid58 ">"
actor-id     := actor-part "." proc-id
actor-part   := label | "<" uid58 ">" | label "<" uid58 ">"

Examples:

local@inproc://0
controller<2MuAHeDjLCEd>@tcp://[::1]:2345
controller<2MuAHeDjLCEd>.local@inproc://0
<2MuAHeDjLCEd>.<NRjEZGYjYibf>:42@tcp://[::1]:2345

Structs§

ActorAddr
An actor identifier paired with a network location.
Location
A network location, wrapping a ChannelAddr.
PortAddr
A port identifier paired with a network location.
ProcAddr
A process identifier paired with a network location.

Enums§

Addr
A polymorphic reference: proc, actor, or port.
AddrParseError
Errors that can occur when parsing a ProcAddr or ActorAddr.