Skip to main content

Module wire

Module wire 

Source
Expand description

Wire codec hash helper.

Type identity for graph values rides on &'static TypeNode (crate::types). This module owns the compute_wire_hash FNV-1a helper used to derive stable wire-envelope hashes from a denotation + version pair. Concrete types stamp the result on their TypeNode::wire_hash field.

Functions§

compute_wire_hash
FNV-1a 64-bit hash of (denotation, "@", version). Available as a const fn so callers can derive stable identifiers at compile time (e.g. for graph-derived edge identity).