Expand description
Engine identifier types — PeerId, NodeSiteId, OpRef,
ComponentRef, ExecId, CommandId, RequestId, OpsetId,
ComponentTag.
Engine-internal IDs. Wire/IR IDs come from bb_ir::ids
re-exported here for a single import surface.
Each integer ID is a #[repr(transparent)] newtype so the
borrow checker rejects cross-type substitution.
Structs§
- Command
Id - Async-dispatch command id finalized via
ctx.complete_command(cmd, outputs). - Component
Ref - Dense per-Node component instance handle.
- Component
Tag - Typed bus-subscription tag - a static
&strlabel naming the kind of event a component receives. - ExecId
- Per-execution identifier; survives async completions and cross-Node wire hops.
- Node
Site Id - IR-level value site. Names a slot inside a
GraphProto’s flow that the engine fills with a slot value. - OpRef
- Op handle within a graph. Positional refs encode
(graph_idx << 32) | node_idx; one indexed lookup per invoke, no HashMap probe. - OpsetId
- Opset identifier.
(domain, version)pair routing wire-level dispatch. Seedocs/IR_AND_DSL.md§5 for the canonical opset catalog. - PeerId
- Peer identity. Wraps a fixed-capacity
Multihash<64>so overlays pick their own digest algorithm. Same wire shape aslibp2p_identity::PeerId; bytes round-trip without translation. - Request
Id - Per-request correlation token. Issued by
SendReqBatchedsenders; echoed by receivers inSendResp.