Module world
narju
0.1.0
Module world
Module Items
Structs
Enums
Functions
Type Aliases
In crate narju
narju
Module
world
Copy item path
Source
Structs
§
World
One heap and the peers it can reach.
Enums
§
Event
One queue carries everything arriving from outside the heap, so a quiescent node waits on a single receiver rather than selecting over a set that changes as peers come and go.
Functions
§
host
('host name)
, deliberately the same shape as a task’s: a call site cannot tell a peer written in Rust from one in the object language.
reply
('reply id v)
, the answer to a request.
request
('req from id body)
is what the prelude’s
call
sends. An adapter answers it exactly as a task would, which is why
call
works against Rust.
Type Aliases
§
ConnId
Local: the same peer is a different number seen from the other end.