Skip to main content

Module address

Module address 

Source
Expand description

Actor addresses and the stable IRIs of runtime records.

Every actor has exactly one address, an absolute IRI, which is also the RDF subject of its state and the name of its current-state graph. Journal entries, snapshots, timers and dead letters get IRIs derived from the address and a journal position or send id, so that replaying or re-projecting a journal yields the same IRIs.

Structs§

Address
An actor address: an absolute IRI.
AddressError
Why a string is not an actor address.

Functions§

hex
Lowercase hex of bytes.
input_iri
The IRI of the input event of entry entry.
percent_decode
Decodes %XX escapes; None when the result is not UTF-8 or an escape is malformed.
percent_encode_into
Percent-encodes everything but RFC 3986 unreserved characters.
seed_of
The random seed of the macrostep journaled as entry: the first 8 bytes of the SHA-256 of its IRI, so replay reproduces every random value without storing it.
send_iri
The IRI of the k-th send of entry entry; also the message id the send is delivered with.
short_digest
The first 16 bytes of the SHA-256 of text, as lowercase hex.
timer_iri
The IRI of the timer with send id send_id scheduled by entry entry; also the message id its event is delivered with.