Expand description
Typed primitive carriers shipped by the framework.
Each typed carrier wraps one well-known framework primitive
(PeerId, CommandId, etc.). Slot-table residency comes from
the blanket impl on crate::slot_value::SlotValue - the
carriers derive Serialize + Deserialize + Clone and that is
the entire contract. Downstream consumers downcast to the
concrete carrier the graph guarantees at each site.
Structs§
- Address
Value - Typed carrier for a multiaddr
Address. - Address
VecValue - Typed carrier for
Vec<Address>— the ordered local-address bag installed viabb::install, the payload shape of the multi-addressAddressBooksyscalls, and the value flowing intowire.Send’ssrc_peer_addressesstamp. Ordering reflects caller preference; the receiver merges into the AddressBook with positional dedup. - Bytes
Value - Generic byte payload carrier.
- Command
IdValue - Typed carrier for a
CommandId. - Composite
Value - Envelope holding N typed child slot values bundled into one
wire-eligible slot. Children are owned typed carriers; in-process
Bundle/Unbundle round-trip preserves the concrete type without a
bincode hop. The wire codec (Commit 2) serialises children as
(type_hash, child.to_wire_bytes())tuples and the receiver materialises typed children via the decoder registry. - Correlation
Token Value - Typed carrier for a
CorrelateTagcorrelation token. - Peer
IdValue - Typed carrier for a
PeerId. - Peer
IdVec Value - Typed carrier for a
Vec<PeerId>— the cardinal peer-list shape flowing into awire.Send. Sampler / DHT / static-constant Components produce this; the Send fans out one envelope per peer. An empty vec is a valid no-op (zero envelopes shipped). - Timestamp
Value - Typed carrier for a wall-clock timestamp (nanoseconds since epoch).
- Trigger
Value - Zero-payload signal value. Used for
Triggeroutputs from syscall ops (Pulse, OnTrigger, Threshold, Interval, After, etc). - U64Value
- Generic
u64carrier - used for tests andbb.u64-typed slot values that don’t have a more specific carrier above. - Wire
ReqId Value - Typed carrier for a
wire_req_id(request/response correlation id minted by the wire syscall).