Expand description
NetId64 — runtime-bound 64-bit identifier.
Layout (big-endian semantics):
┌────────┬─────────────┬──────────────────────────────┐
│ KIND:8 │ NODE:16 │ COUNTER:40 │
└────────┴─────────────┴──────────────────────────────┘NetId64 is not a universal identifier like a UUID. It is optimized
for runtime-bound identifiers: meaningful inside the lifetime of the
node, process, server, shard, or transport session that minted it.
The whole id is a u64; the field accessors are const fn so the
compiler can fold them at call sites that have a constant id.
The wire form is the big-endian byte representation of the inner u64.
Structs§
- NetId64
- Runtime-bound 64-bit identifier with
[KIND:8][NODE:16][COUNTER:40]layout. - Parse
NetId64 Error - Parse error for
NetId64::from_str.